diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-06 17:09:50 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-06 17:09:50 -0700 |
commit | 01067698803179cf8021d30c881eb16f17b184db (patch) | |
tree | 0176e1238fb06b639a3a8fdaa471c35044712c14 /host/utils | |
parent | 7bf4370762087eeb2e590414869f53c90c70398d (diff) | |
parent | 7f3c4791f7d19d02b7d4515c763b9c2044e96170 (diff) | |
download | uhd-01067698803179cf8021d30c881eb16f17b184db.tar.gz uhd-01067698803179cf8021d30c881eb16f17b184db.tar.bz2 uhd-01067698803179cf8021d30c881eb16f17b184db.zip |
Merge branch 'usrp2_mimo'
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/usrp2_addr_burner.cpp | 5 |
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; |