summaryrefslogtreecommitdiffstats
path: root/lib/usrp/mboard/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/usrp/mboard/test.cpp')
-rw-r--r--lib/usrp/mboard/test.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/usrp/mboard/test.cpp b/lib/usrp/mboard/test.cpp
index 57482448c..b54d66408 100644
--- a/lib/usrp/mboard/test.cpp
+++ b/lib/usrp/mboard/test.cpp
@@ -140,9 +140,11 @@ void test::get(const wax::obj &key_, wax::obj &val){
if (_dboard_managers.count(name) == 0) throw std::invalid_argument(
str(boost::format("Unknown rx dboard name %s") % name)
);
- val = wax::obj::sptr(
- new shell_dboard(_dboard_managers[name], shell_dboard::TYPE_RX)
- );
+ //FIXME store the shell dboard within the class
+ //may not fix, plan to remove this test class when real usrps work
+ //val = wax::obj::sptr(
+ // new shell_dboard(_dboard_managers[name], shell_dboard::TYPE_RX)
+ //);
return;
case MBOARD_PROP_RX_DBOARD_NAMES:
@@ -153,9 +155,11 @@ void test::get(const wax::obj &key_, wax::obj &val){
if (_dboard_managers.count(name) == 0) throw std::invalid_argument(
str(boost::format("Unknown tx dboard name %s") % name)
);
- val = wax::obj::sptr(
- new shell_dboard(_dboard_managers[name], shell_dboard::TYPE_TX)
- );
+ //FIXME store the shell dboard within the class
+ //may not fix, plan to remove this test class when real usrps work
+ //val = wax::obj::sptr(
+ // new shell_dboard(_dboard_managers[name], shell_dboard::TYPE_TX)
+ //);
return;
case MBOARD_PROP_TX_DBOARD_NAMES: