summaryrefslogtreecommitdiffstats
path: root/host/lib/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/device.cpp')
-rw-r--r--host/lib/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp
index 822733217..be27ac1ae 100644
--- a/host/lib/device.cpp
+++ b/host/lib/device.cpp
@@ -16,7 +16,7 @@
//
#include <uhd/usrp/usrp.hpp>
-#include <uhd/usrp/mboard/usrp2.hpp>
+#include <uhd/usrp/usrp2.hpp> //TODO remove and call discover from usrp
#include <uhd/device.hpp>
#include <boost/format.hpp>
#include <stdexcept>
@@ -34,7 +34,7 @@ device_addrs_t device::discover(const device_addr_t &hint){
device_addrs.push_back(test_device_addr);
}
else if (hint["type"] == "udp"){
- std::vector<device_addr_t> usrp2_addrs = usrp::mboard::usrp2::discover(hint);
+ std::vector<device_addr_t> usrp2_addrs = usrp::usrp2::discover(hint);
device_addrs.insert(device_addrs.begin(), usrp2_addrs.begin(), usrp2_addrs.end());
}
return device_addrs;