diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-23 18:56:12 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-23 18:56:12 -0700 |
commit | 5fc96b27b9493506bd7ad60eb37f98f651de6545 (patch) | |
tree | b181775e041c3d78c641feb4080165fe96a198f4 /host/examples/test_pps_input.cpp | |
parent | 1826421cd428f795b4b8cd0acdad4fea92262f72 (diff) | |
parent | ea82d5fe9a9cde24409c528160e6ba6f3bced41b (diff) | |
download | uhd-5fc96b27b9493506bd7ad60eb37f98f651de6545.tar.gz uhd-5fc96b27b9493506bd7ad60eb37f98f651de6545.tar.bz2 uhd-5fc96b27b9493506bd7ad60eb37f98f651de6545.zip |
Merge branch 'xusrp'
Diffstat (limited to 'host/examples/test_pps_input.cpp')
-rw-r--r-- | host/examples/test_pps_input.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/examples/test_pps_input.cpp b/host/examples/test_pps_input.cpp index e01d32910..d1b49d320 100644 --- a/host/examples/test_pps_input.cpp +++ b/host/examples/test_pps_input.cpp @@ -17,7 +17,7 @@ #include <uhd/utils/thread_priority.hpp> #include <uhd/utils/safe_main.hpp> -#include <uhd/usrp/simple_usrp.hpp> +#include <uhd/usrp/single_usrp.hpp> #include <boost/program_options.hpp> #include <boost/format.hpp> #include <boost/thread.hpp> @@ -37,7 +37,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ po::options_description desc("Allowed options"); desc.add_options() ("help", "help message") - ("args", po::value<std::string>(&args)->default_value(""), "simple uhd device address args") + ("args", po::value<std::string>(&args)->default_value(""), "single uhd device address args") ; po::variables_map vm; po::store(po::parse_command_line(argc, argv, desc), vm); @@ -52,7 +52,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //create a usrp device std::cout << std::endl; std::cout << boost::format("Creating the usrp device with: %s...") % args << std::endl; - uhd::usrp::simple_usrp::sptr sdev = uhd::usrp::simple_usrp::make(args); + uhd::usrp::single_usrp::sptr sdev = uhd::usrp::single_usrp::make(args); uhd::device::sptr dev = sdev->get_device(); std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl; |