diff options
Diffstat (limited to 'usrp2/firmware/lib')
-rw-r--r-- | usrp2/firmware/lib/db_dbsrx.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usrp2/firmware/lib/db_dbsrx.c b/usrp2/firmware/lib/db_dbsrx.c index d7433f254..1797d3c41 100644 --- a/usrp2/firmware/lib/db_dbsrx.c +++ b/usrp2/firmware/lib/db_dbsrx.c @@ -69,10 +69,10 @@ struct db_dbsrx { }; struct db_dbsrx db_dbsrx = { - .base.dbid = 0x0002, + .base.dbid = 0x000d, .base.is_tx = false, - .base.output_enables = 0x0001, - .base.used_pins = 0x0001, + .base.output_enables = 0x0000, + .base.used_pins = 0x0000, .base.freq_min = U2_DOUBLE_TO_FXPT_FREQ(500e6), .base.freq_max = U2_DOUBLE_TO_FXPT_FREQ(2.6e9), .base.gain_min = U2_DOUBLE_TO_FXPT_GAIN(0), @@ -111,9 +111,6 @@ db_dbsrx_init(struct db_base *dbb){ db->base.set_gain(dbb, (db->base.gain_max + db->base.gain_min)/2); clocks_enable_rx_dboard(true, REFCLK_DIVISOR); // Gives 4 MHz clock - hal_gpio_set_sel(GPIO_RX_BANK, 0, '1'); - - return true; } |