diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-05 17:39:18 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-11-05 17:39:18 -0700 |
commit | 94a492dc40a6450ada3fe34a7440c31077d9690e (patch) | |
tree | 2a6f90356b067d732e7f2a3366003fc71269ee61 /host/lib/usrp/usrp1 | |
parent | 3ac3457184bc3b251ce7398eee56c931983abe65 (diff) | |
download | uhd-94a492dc40a6450ada3fe34a7440c31077d9690e.tar.gz uhd-94a492dc40a6450ada3fe34a7440c31077d9690e.tar.bz2 uhd-94a492dc40a6450ada3fe34a7440c31077d9690e.zip |
uhd: rename identifier for usrp1 eeprom, and fix offsets, add serial support to usrp2
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r-- | host/lib/usrp/usrp1/mboard_impl.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_iface.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/mboard_impl.cpp b/host/lib/usrp/usrp1/mboard_impl.cpp index 86f78a7a9..952da8dce 100644 --- a/host/lib/usrp/usrp1/mboard_impl.cpp +++ b/host/lib/usrp/usrp1/mboard_impl.cpp @@ -379,7 +379,7 @@ void usrp1_impl::mboard_set(const wax::obj &key, const wax::obj &val) case MBOARD_PROP_EEPROM_MAP: _iface->mb_eeprom = val.as<mboard_eeprom_t>(); - _iface->mb_eeprom.commit(*_iface, mboard_eeprom_t::MAP_BXXX); + _iface->mb_eeprom.commit(*_iface, mboard_eeprom_t::MAP_B1XX); return; default: UHD_THROW_PROP_SET_ERROR(); diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp index dcba3e819..691c51fe8 100644 --- a/host/lib/usrp/usrp1/usrp1_iface.cpp +++ b/host/lib/usrp/usrp1/usrp1_iface.cpp @@ -38,7 +38,7 @@ public: usrp1_iface_impl(usrp_ctrl::sptr ctrl_transport) { _ctrl_transport = ctrl_transport; - mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_BXXX); + mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_B1XX); } ~usrp1_iface_impl(void) |