diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-11 18:09:45 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-10-12 10:16:48 -0700 |
commit | 1a695f94849644773deda18f84a07ef1a206481b (patch) | |
tree | 5fa3699ec69792bf01251fac3ef670a771bed915 /host/lib/usrp/b100 | |
parent | 08b23bf3c6fcd0aaa84be74b4890687491e561bb (diff) | |
download | uhd-1a695f94849644773deda18f84a07ef1a206481b.tar.gz uhd-1a695f94849644773deda18f84a07ef1a206481b.tar.bz2 uhd-1a695f94849644773deda18f84a07ef1a206481b.zip |
b100: new eeprom map for special 9 byte serial
Diffstat (limited to 'host/lib/usrp/b100')
-rw-r--r-- | host/lib/usrp/b100/b100_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/b100/b100_impl.cpp b/host/lib/usrp/b100/b100_impl.cpp index 591a8b49f..7d5876449 100644 --- a/host/lib/usrp/b100/b100_impl.cpp +++ b/host/lib/usrp/b100/b100_impl.cpp @@ -110,7 +110,7 @@ static device_addrs_t b100_find(const device_addr_t &hint) try{ usb_control::sptr control = usb_control::make(handle, 0); fx2_ctrl::sptr fx2_ctrl = fx2_ctrl::make(control); - const mboard_eeprom_t mb_eeprom = mboard_eeprom_t(*fx2_ctrl, mboard_eeprom_t::MAP_B000); + const mboard_eeprom_t mb_eeprom = mboard_eeprom_t(*fx2_ctrl, mboard_eeprom_t::MAP_B100); new_addr["name"] = mb_eeprom["name"]; } catch(const uhd::exception &){ @@ -243,7 +243,7 @@ b100_impl::b100_impl(const device_addr_t &device_addr){ //////////////////////////////////////////////////////////////////// // setup the mboard eeprom //////////////////////////////////////////////////////////////////// - const mboard_eeprom_t mb_eeprom(*_fx2_ctrl, mboard_eeprom_t::MAP_B000); + const mboard_eeprom_t mb_eeprom(*_fx2_ctrl, mboard_eeprom_t::MAP_B100); _tree->create<mboard_eeprom_t>(mb_path / "eeprom") .set(mb_eeprom) .subscribe(boost::bind(&b100_impl::set_mb_eeprom, this, _1)); @@ -463,7 +463,7 @@ double b100_impl::update_rx_codec_gain(const double gain){ } void b100_impl::set_mb_eeprom(const uhd::usrp::mboard_eeprom_t &mb_eeprom){ - mb_eeprom.commit(*_fx2_ctrl, mboard_eeprom_t::MAP_B000); + mb_eeprom.commit(*_fx2_ctrl, mboard_eeprom_t::MAP_B100); } void b100_impl::set_db_eeprom(const std::string &type, const uhd::usrp::dboard_eeprom_t &db_eeprom){ |