diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-20 12:05:33 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-20 12:05:33 -0700 |
commit | eae0bec99bca5efa1e86faa03132ec5e8aca5fe5 (patch) | |
tree | 12a51e33d54293e2b7911f202fc5ae233fdae7ae /host/test | |
parent | 6b015b1c517733e85cb0c08a379e8d20377bf2fa (diff) | |
download | uhd-eae0bec99bca5efa1e86faa03132ec5e8aca5fe5.tar.gz uhd-eae0bec99bca5efa1e86faa03132ec5e8aca5fe5.tar.bz2 uhd-eae0bec99bca5efa1e86faa03132ec5e8aca5fe5.zip |
Created args string contructor for device address.
Using the args string for the find devices app.
Added documentation to simple usrp.
Diffstat (limited to 'host/test')
-rw-r--r-- | host/test/addr_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/test/addr_test.cpp b/host/test/addr_test.cpp index 2ec6de14b..93b7cc0df 100644 --- a/host/test/addr_test.cpp +++ b/host/test/addr_test.cpp @@ -44,7 +44,7 @@ BOOST_AUTO_TEST_CASE(test_device_addr){ std::cout << "Pretty Print: " << std::endl << dev_addr.to_string(); std::string args_str = dev_addr.to_args_str(); std::cout << "Args String: " << args_str << std::endl; - uhd::device_addr_t new_dev_addr = uhd::device_addr_t::from_args_str(args_str); + uhd::device_addr_t new_dev_addr(args_str); //they should be the same size BOOST_CHECK_EQUAL(dev_addr.size(), new_dev_addr.size()); |