aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2019-02-19 18:21:37 -0600
committerBrent Stapleton <brent.stapleton@ettus.com>2019-02-21 16:16:06 -0800
commitccddd671bded324b2752e769879e6ae645768a62 (patch)
tree91415263ca11ade601bc49020b76c8c35fa9030d /host/lib/usrp/dboard
parent3665242c33f0c8ca6fd7059d596e4c7976242858 (diff)
downloaduhd-ccddd671bded324b2752e769879e6ae645768a62.tar.gz
uhd-ccddd671bded324b2752e769879e6ae645768a62.tar.bz2
uhd-ccddd671bded324b2752e769879e6ae645768a62.zip
rh: reset rx iq balance on init
- Fixes a bug where a previous setting could carry over between sessions.
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
index b626e5c15..356932bc2 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp
@@ -179,6 +179,7 @@ void rhodium_radio_ctrl_impl::_init_peripherals()
_rx_fe_core->set_adc_rate(_master_clock_rate);
_rx_fe_core->set_dc_offset(rx_frontend_core_3000::DEFAULT_DC_OFFSET_VALUE);
_rx_fe_core->set_dc_offset_auto(rx_frontend_core_3000::DEFAULT_DC_OFFSET_ENABLE);
+ _rx_fe_core->set_iq_balance(rx_frontend_core_3000::DEFAULT_IQ_BALANCE_VALUE);
_rx_fe_core->populate_subtree(_tree->subtree(_root_path / "rx_fe_corrections" / 0));
UHD_LOG_TRACE(unique_id(), "Writing initial gain values...");