diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-09-26 15:17:23 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-09-27 09:03:13 -0700 |
commit | 2876c159ec268e70ade5139ac73b146fd00b83ca (patch) | |
tree | 27cae076b06815dac9786a4a33d12de65131bf23 /host/lib/usrp/x300/x300_impl.cpp | |
parent | 64423ac3cc011af21622fb296b6d5400879b5da3 (diff) | |
download | uhd-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_impl.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 543ac9702..e4f6d6fb8 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1445,11 +1445,6 @@ bool x300_impl::is_pps_present(mboard_members_t& mb) * eeprom **********************************************************************/ -void x300_impl::set_db_eeprom(i2c_iface::sptr i2c, const size_t addr, const uhd::usrp::dboard_eeprom_t &db_eeprom) -{ - db_eeprom.store(*i2c, addr); -} - void x300_impl::set_mb_eeprom(i2c_iface::sptr i2c, const mboard_eeprom_t &mb_eeprom) { i2c_iface::sptr eeprom16 = i2c->eeprom16(); |