diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-03 01:20:11 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-03 01:20:11 -0700 |
commit | 4d5df2376b204afb724684d0d864ce0d93fe83fb (patch) | |
tree | c0552615c8f51eb89c3214c8fed7105387264cae /host/utils/uhd_find_devices.cpp | |
parent | fd0d9b7dcca13b4d8a4e1912682f58eb6b6ab634 (diff) | |
download | uhd-4d5df2376b204afb724684d0d864ce0d93fe83fb.tar.gz uhd-4d5df2376b204afb724684d0d864ce0d93fe83fb.tar.bz2 uhd-4d5df2376b204afb724684d0d864ce0d93fe83fb.zip |
Expanded the dboard id API to create dboard id types from strings and ints.
And created utility functions to go between representations.
Created to_pp_string for pretty print strings for dboard ids and device addrs.
Minor changes to the various classes that call these utilities.
Diffstat (limited to 'host/utils/uhd_find_devices.cpp')
-rw-r--r-- | host/utils/uhd_find_devices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/uhd_find_devices.cpp b/host/utils/uhd_find_devices.cpp index 69e550fd4..b778eeb68 100644 --- a/host/utils/uhd_find_devices.cpp +++ b/host/utils/uhd_find_devices.cpp @@ -52,7 +52,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << "--------------------------------------------------" << std::endl; std::cout << "-- UHD Device " << i << std::endl; std::cout << "--------------------------------------------------" << std::endl; - std::cout << device_addrs[i].to_string() << std::endl << std::endl; + std::cout << device_addrs[i].to_pp_string() << std::endl << std::endl; //uhd::device::make(device_addrs[i]); //test make } |