aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 15:27:11 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 15:27:11 -0700
commitc8dca30d72eb733d154ab9dd193631c42b8e4788 (patch)
treeded51d25f2cbdd319e28f9af906620d7efc412ff /host/lib/usrp/dboard_manager.cpp
parent94399062713a76a42f269a7ed4d3737ecd6ed5cf (diff)
downloaduhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.gz
uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.tar.bz2
uhd-c8dca30d72eb733d154ab9dd193631c42b8e4788.zip
uhd: replaced many conditional prints with UHD_LOG usage
Diffstat (limited to 'host/lib/usrp/dboard_manager.cpp')
-rw-r--r--host/lib/usrp/dboard_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp
index 2e8b39311..cd934dd0d 100644
--- a/host/lib/usrp/dboard_manager.cpp
+++ b/host/lib/usrp/dboard_manager.cpp
@@ -19,6 +19,7 @@
#include <uhd/usrp/dboard_manager.hpp>
#include <uhd/usrp/subdev_props.hpp>
#include <uhd/utils/warning.hpp>
+#include <uhd/utils/log.hpp>
#include <uhd/utils/static.hpp>
#include <uhd/exception.hpp>
#include <uhd/types/dict.hpp>
@@ -27,7 +28,6 @@
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#include <boost/assign/list_of.hpp>
-#include <iostream>
using namespace uhd;
using namespace uhd::usrp;
@@ -91,7 +91,7 @@ static void register_dboard_key(
const std::string &name,
const prop_names_t &subdev_names
){
- //std::cout << "registering: " << name << std::endl;
+ UHD_LOGV(always) << "registering: " << name << std::endl;
if (get_id_to_args_map().has_key(dboard_key)){
if (dboard_key.is_xcvr()) throw uhd::key_error(str(boost::format(