diff options
author | Mark Meserve <mark.meserve@ni.com> | 2019-02-19 18:21:37 -0600 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-22 09:26:28 -0800 |
commit | 9271d5a00b9764d1b76ddffa6e8ec61b895f0375 (patch) | |
tree | ca421b45dbbec4f8a9d9a89f1f42edad55ab1c0e /host/lib/usrp | |
parent | a7ce066a9d09217bd7fa543fd80f916d38143504 (diff) | |
download | uhd-9271d5a00b9764d1b76ddffa6e8ec61b895f0375.tar.gz uhd-9271d5a00b9764d1b76ddffa6e8ec61b895f0375.tar.bz2 uhd-9271d5a00b9764d1b76ddffa6e8ec61b895f0375.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')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_init.cpp | 1 |
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..."); |