aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-01 16:08:33 -0700
committerJosh Blum <josh@joshknows.com>2010-07-05 13:45:16 -0700
commit3b1473d5a3fbfb89e9ddc5575e855644707718d0 (patch)
tree7b83663b81e8c8d4882b6a9a0291c388088a6c26 /host/utils
parent82790f3da8afe646f255da428c5936045f0e2434 (diff)
downloaduhd-3b1473d5a3fbfb89e9ddc5575e855644707718d0.tar.gz
uhd-3b1473d5a3fbfb89e9ddc5575e855644707718d0.tar.bz2
uhd-3b1473d5a3fbfb89e9ddc5575e855644707718d0.zip
usrp2: removed usrp2.hpp header, its not needed, just use the discovery/factory system
uhd: added usrp_mimo skeleton code/header
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/usrp2_addr_burner.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/utils/usrp2_addr_burner.cpp b/host/utils/usrp2_addr_burner.cpp
index 08fc1e218..f0e3434b7 100644
--- a/host/utils/usrp2_addr_burner.cpp
+++ b/host/utils/usrp2_addr_burner.cpp
@@ -16,7 +16,7 @@
//
#include <uhd/utils/safe_main.hpp>
-#include <uhd/usrp/usrp2.hpp>
+#include <uhd/device.hpp>
#include <uhd/usrp/device_props.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
@@ -45,6 +45,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//load the options into the address
uhd::device_addr_t device_addr;
+ device_addr["type"] = "usrp2";
if (vm.count("addr")){
device_addr["addr"] = vm["addr"].as<std::string>();
}
@@ -54,7 +55,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
}
//create a usrp2 device
- uhd::device::sptr u2_dev = uhd::usrp::usrp2::make(device_addr);
+ uhd::device::sptr u2_dev = uhd::device::make(device_addr);
//FIXME usees the default mboard for now (until the mimo link is supported)
wax::obj u2_mb = (*u2_dev)[uhd::usrp::DEVICE_PROP_MBOARD];
std::cout << std::endl;