aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
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_impl.cpp
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_impl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp5
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();