aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-09-26 15:17:23 -0700
committerMartin Braun <martin.braun@ettus.com>2016-09-27 09:03:13 -0700
commit2876c159ec268e70ade5139ac73b146fd00b83ca (patch)
tree27cae076b06815dac9786a4a33d12de65131bf23 /host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
parent64423ac3cc011af21622fb296b6d5400879b5da3 (diff)
downloaduhd-2876c159ec268e70ade5139ac73b146fd00b83ca.tar.gz
uhd-2876c159ec268e70ade5139ac73b146fd00b83ca.tar.bz2
uhd-2876c159ec268e70ade5139ac73b146fd00b83ca.zip
bugfix: db eeprom id not being written for X3x0
- The value of db_eeprom_t being written was stale due to a caching bug - Updated subscriber for db_eeprom_t to write the EEPROM state *and* cache it locally Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_radio_ctrl_impl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
index 4f7f43b7d..46540a0c7 100644
--- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
@@ -156,6 +156,8 @@ private:
void _check_adc(const boost::uint32_t val);
+ void _set_db_eeprom(uhd::i2c_iface::sptr i2c, const size_t, const uhd::usrp::dboard_eeprom_t &);
+
void set_rx_fe_corrections(const uhd::fs_path &db_path, const uhd::fs_path &rx_fe_corr_path, const double lo_freq);
void set_tx_fe_corrections(const uhd::fs_path &db_path, const uhd::fs_path &tx_fe_corr_path, const double lo_freq);