summaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-01 15:16:29 +0000
committerJosh Blum <josh@joshknows.com>2010-04-01 15:16:29 +0000
commit8fd3ce07369a7962dc8eb5ace2007a80ad7dd907 (patch)
treebb4f5c61f8a7809af1c58d5513dc6c3e78c7a5b2 /host/examples
parent58d71729716a688af36ba4a413e6f6ee4729eefc (diff)
parentf1f4865119605c66ffece113a621308d82512d23 (diff)
downloaduhd-8fd3ce07369a7962dc8eb5ace2007a80ad7dd907.tar.gz
uhd-8fd3ce07369a7962dc8eb5ace2007a80ad7dd907.tar.bz2
uhd-8fd3ce07369a7962dc8eb5ace2007a80ad7dd907.zip
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into usrp_e
Conflicts: host/include/uhd/usrp/CMakeLists.txt
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rx_timed_samples.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp
index 88e112584..58b5af9da 100644
--- a/host/examples/rx_timed_samples.cpp
+++ b/host/examples/rx_timed_samples.cpp
@@ -16,8 +16,7 @@
//
#include <uhd/utils/safe_main.hpp>
-#include <uhd/simple_device.hpp>
-#include <uhd/props.hpp>
+#include <uhd/usrp/simple_usrp.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
#include <iostream>
@@ -53,7 +52,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
std::cout << std::endl;
std::cout << boost::format("Creating the usrp device with: %s...")
% transport_args << std::endl;
- uhd::simple_device::sptr sdev = uhd::simple_device::make(transport_args);
+ uhd::usrp::simple_usrp::sptr sdev = uhd::usrp::simple_usrp::make(transport_args);
uhd::device::sptr dev = sdev->get_device();
std::cout << boost::format("Using Device: %s") % sdev->get_name() << std::endl;