aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e100/mboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 19:13:33 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 19:13:33 -0700
commit805da3ef3d5b04dfa39587c531a3415b09d2ea5b (patch)
tree7fe255935e776a1084a2b20056347fbd3b87f3dc /host/lib/usrp/usrp_e100/mboard_impl.cpp
parent7f01386f63850d9e13afb4033d1fae39f6a03764 (diff)
downloaduhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.tar.gz
uhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.tar.bz2
uhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.zip
usrp-e100: removed stdio prints from implementation
Diffstat (limited to 'host/lib/usrp/usrp_e100/mboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e100/mboard_impl.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp_e100/mboard_impl.cpp b/host/lib/usrp/usrp_e100/mboard_impl.cpp
index 5f4a208d3..d31662eb5 100644
--- a/host/lib/usrp/usrp_e100/mboard_impl.cpp
+++ b/host/lib/usrp/usrp_e100/mboard_impl.cpp
@@ -17,12 +17,12 @@
#include "usrp_e100_impl.hpp"
#include "usrp_e100_regs.hpp"
+#include <uhd/utils/msg.hpp>
#include <uhd/exception.hpp>
#include <uhd/usrp/dsp_utils.hpp>
#include <uhd/usrp/misc_utils.hpp>
#include <uhd/usrp/mboard_props.hpp>
#include <boost/bind.hpp>
-#include <iostream>
using namespace uhd;
using namespace uhd::usrp;
@@ -207,10 +207,11 @@ void usrp_e100_impl::mboard_set(const wax::obj &key, const wax::obj &val){
return;
case MBOARD_PROP_CLOCK_RATE:
- std::cerr << "Helpful message:" << std::endl;
- std::cerr << " I see that you are setting the master clock rate from the API." << std::endl;
- std::cerr << " You may find it more convenient to burn this setting into the EEPROM." << std::endl;
- std::cerr << " See the application notes for USRP-E1XX for further instructions." << std::endl;
+ UHD_MSG(warning)
+ << "I see that you are setting the master clock rate from the API.\n"
+ << "You may find it more convenient to burn this setting into the EEPROM.\n"
+ << "See the application notes for USRP-E1XX for further instructions.\n"
+ ;
_clock_ctrl->set_fpga_clock_rate(val.as<double>());
return;