summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-10 11:14:47 -0800
committerJosh Blum <josh@joshknows.com>2010-11-10 11:14:47 -0800
commit8c434f7d63aca25b55d6d13dffcc1d7037261d4f (patch)
tree9bcc2f95918edc7b18ad15d0ac409de4543a7463 /host/lib/usrp/usrp2
parent0d83209d13b558fe35b22ea06d0b38645ecbdcf7 (diff)
downloaduhd-8c434f7d63aca25b55d6d13dffcc1d7037261d4f.tar.gz
uhd-8c434f7d63aca25b55d6d13dffcc1d7037261d4f.tar.bz2
uhd-8c434f7d63aca25b55d6d13dffcc1d7037261d4f.zip
uhd: renamed enums to reflect new convention
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp4
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp
index df98ba275..a6ca7f2d3 100644
--- a/host/lib/usrp/usrp2/mboard_impl.cpp
+++ b/host/lib/usrp/usrp2/mboard_impl.cpp
@@ -316,8 +316,8 @@ void usrp2_mboard_impl::set(const wax::obj &key, const wax::obj &val){
case MBOARD_PROP_EEPROM_MAP:
// Step1: commit the map, writing only those values set.
// Step2: readback the entire eeprom map into the iface.
- val.as<mboard_eeprom_t>().commit(*_iface, mboard_eeprom_t::MAP_NXXX);
- _iface->mb_eeprom = mboard_eeprom_t(*_iface, mboard_eeprom_t::MAP_NXXX);
+ val.as<mboard_eeprom_t>().commit(*_iface, mboard_eeprom_t::MAP_N100);
+ _iface->mb_eeprom = mboard_eeprom_t(*_iface, mboard_eeprom_t::MAP_N100);
return;
default: UHD_THROW_PROP_SET_ERROR();
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index eb2685efa..09f3432d6 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -60,7 +60,7 @@ public:
) % int(USRP2_FPGA_COMPAT_NUM) % fpga_compat_num));
}
- mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_NXXX);
+ mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_N100);
}
~usrp2_iface_impl(void){