diff options
-rw-r--r-- | usrp2/firmware/lib/db_init.c | 4 | ||||
-rw-r--r-- | usrp2/firmware/lib/db_rfx.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usrp2/firmware/lib/db_init.c b/usrp2/firmware/lib/db_init.c index f54fc0ae3..925a34f39 100644 --- a/usrp2/firmware/lib/db_init.c +++ b/usrp2/firmware/lib/db_init.c @@ -267,8 +267,8 @@ db_init(void) //printf("db_init: tx dbid = 0x%x\n", tx_dboard->dbid); set_gpio_mode(GPIO_TX_BANK, tx_dboard); tx_dboard->init(tx_dboard); - //m = determine_tx_mux_value(tx_dboard); - //dsp_tx_regs->tx_mux = m; + m = determine_tx_mux_value(tx_dboard); + dsp_tx_regs->tx_mux = m; //printf("tx_mux = 0x%x\n", m); tx_dboard->current_lo_offset = tx_dboard->default_lo_offset; diff --git a/usrp2/firmware/lib/db_rfx.c b/usrp2/firmware/lib/db_rfx.c index 3efb9f664..785d9540d 100644 --- a/usrp2/firmware/lib/db_rfx.c +++ b/usrp2/firmware/lib/db_rfx.c @@ -177,7 +177,7 @@ struct db_rfx_400_tx db_rfx_400_tx = { //.base.gain_max = U2_DOUBLE_TO_FXPT_GAIN(xxx), //.base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(xxx), .base.is_quadrature = true, - .base.i_and_q_swapped = true, + .base.i_and_q_swapped = false, .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(12.5e6), .base.init = rfx_init_tx, @@ -238,7 +238,7 @@ struct db_rfx_900_tx db_rfx_900_tx = { //.base.gain_max = U2_DOUBLE_TO_FXPT_GAIN(xxx), //.base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(xxx), .base.is_quadrature = true, - .base.i_and_q_swapped = true, + .base.i_and_q_swapped = false, .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(12.5e6), .base.init = rfx_init_tx, @@ -299,7 +299,7 @@ struct db_rfx_1200_tx db_rfx_1200_tx = { //.base.gain_max = U2_DOUBLE_TO_FXPT_GAIN(xxx), //.base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(xxx), .base.is_quadrature = true, - .base.i_and_q_swapped = true, + .base.i_and_q_swapped = false, .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(12.5e6), .base.init = rfx_init_tx, @@ -360,7 +360,7 @@ struct db_rfx_1800_tx db_rfx_1800_tx = { //.base.gain_max = U2_DOUBLE_TO_FXPT_GAIN(xxx), //.base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(xxx), .base.is_quadrature = true, - .base.i_and_q_swapped = true, + .base.i_and_q_swapped = false, .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(12.5e6), .base.init = rfx_init_tx, @@ -422,7 +422,7 @@ struct db_rfx_2400_tx db_rfx_2400_tx = { //.base.gain_max = U2_DOUBLE_TO_FXPT_GAIN(xxx), //.base.gain_step_size = U2_DOUBLE_TO_FXPT_GAIN(xxx), .base.is_quadrature = true, - .base.i_and_q_swapped = true, + .base.i_and_q_swapped = false, .base.spectrum_inverted = false, .base.default_lo_offset = U2_DOUBLE_TO_FXPT_FREQ(12.5e6), .base.init = rfx_init_tx, |