diff options
Diffstat (limited to 'host/apps/discover_usrps.cpp')
| -rw-r--r-- | host/apps/discover_usrps.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/host/apps/discover_usrps.cpp b/host/apps/discover_usrps.cpp index 7e8c21673..d670d1651 100644 --- a/host/apps/discover_usrps.cpp +++ b/host/apps/discover_usrps.cpp @@ -15,7 +15,7 @@  // along with this program.  If not, see <http://www.gnu.org/licenses/>.  // -#include <uhd.hpp> +#include <uhd/device.hpp>  #include <uhd/props.hpp>  #include <boost/program_options.hpp>  #include <boost/format.hpp> @@ -63,9 +63,7 @@ int main(int argc, char *argv[]){          std::cout << "-- USRP Device " << i << std::endl;          std::cout << "--------------------------------------------------" << std::endl;          std::cout << device_addrs[i] << std::endl << std::endl; -        //make each device just to test (TODO: remove this) -        uhd::device::sptr dev = uhd::device::make(device_addrs[i]); -        std::cout << wax::cast<std::string>((*dev)[uhd::DEVICE_PROP_MBOARD][uhd::MBOARD_PROP_NAME]) << std::endl; +        uhd::device::make(device_addrs[i]); //test make      }      return 0; | 
