aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-10 10:30:41 -0800
committerJosh Blum <josh@joshknows.com>2010-11-10 10:30:41 -0800
commit57a2fa2e0654226c8a13c7eddad2fcdb43f72703 (patch)
tree389ef233e6c349c9f57097767b113384477363d6 /host/lib
parent3e695d1c0026383fd0509da8e4ebbf5ce5dd1fa3 (diff)
downloaduhd-57a2fa2e0654226c8a13c7eddad2fcdb43f72703.tar.gz
uhd-57a2fa2e0654226c8a13c7eddad2fcdb43f72703.tar.bz2
uhd-57a2fa2e0654226c8a13c7eddad2fcdb43f72703.zip
usrp-e100: added empty eeprom for eeprom get property
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/usrp_e100/mboard_impl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp_e100/mboard_impl.cpp b/host/lib/usrp/usrp_e100/mboard_impl.cpp
index 2d5d028e6..e45d7c5a0 100644
--- a/host/lib/usrp/usrp_e100/mboard_impl.cpp
+++ b/host/lib/usrp/usrp_e100/mboard_impl.cpp
@@ -21,6 +21,7 @@
#include <uhd/usrp/misc_utils.hpp>
#include <uhd/utils/assert.hpp>
#include <uhd/usrp/mboard_props.hpp>
+#include <uhd/usrp/mboard_eeprom.hpp>
#include <boost/bind.hpp>
#include <iostream>
@@ -107,6 +108,10 @@ void usrp_e100_impl::mboard_get(const wax::obj &key_, wax::obj &val){
val = _tx_subdev_spec;
return;
+ case MBOARD_PROP_EEPROM_MAP:
+ val = mboard_eeprom_t();
+ return;
+
default: UHD_THROW_PROP_GET_ERROR();
}
}