aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 19:53:01 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 19:53:01 -0700
commit09be0518cee887878f3b070adea25eccc4c06e60 (patch)
treed25df33a4860116d51fd5ac49753739397948353 /host/lib/usrp/usrp_e100
parent805da3ef3d5b04dfa39587c531a3415b09d2ea5b (diff)
downloaduhd-09be0518cee887878f3b070adea25eccc4c06e60.tar.gz
uhd-09be0518cee887878f3b070adea25eccc4c06e60.tar.bz2
uhd-09be0518cee887878f3b070adea25eccc4c06e60.zip
uhd: removed more iostream stuff from usrp* implementations
Diffstat (limited to 'host/lib/usrp/usrp_e100')
-rw-r--r--host/lib/usrp/usrp_e100/io_impl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp_e100/io_impl.cpp b/host/lib/usrp/usrp_e100/io_impl.cpp
index 7e775dfd8..aa6e7c485 100644
--- a/host/lib/usrp/usrp_e100/io_impl.cpp
+++ b/host/lib/usrp/usrp_e100/io_impl.cpp
@@ -28,7 +28,6 @@
#include <boost/thread/thread.hpp>
#include <boost/thread/barrier.hpp>
#include <sstream>
-#include <iostream>
using namespace uhd;
using namespace uhd::usrp;
@@ -158,7 +157,7 @@ void usrp_e100_impl::io_impl::recv_pirate_loop(
metadata.event_code = vrt_packet_handler::get_context_code<async_metadata_t::event_code_t>(vrt_hdr, if_packet_info);
//print the famous U, and push the metadata into the message queue
- if (metadata.event_code & underflow_flags) std::cerr << "U" << std::flush;
+ if (metadata.event_code & underflow_flags) UHD_MSG(fastpath) << "U";
async_msg_fifo.push_with_pop_on_full(metadata);
continue;
}
@@ -224,7 +223,7 @@ void usrp_e100_impl::issue_stream_cmd(const stream_cmd_t &stream_cmd){
}
void usrp_e100_impl::handle_overrun(size_t){
- std::cerr << "O"; //the famous OOOOOOOOOOO
+ UHD_MSG(fastpath) << "O"; //the famous OOOOOOOOOOO
if (_io_impl->continuous_streaming){
this->issue_stream_cmd(stream_cmd_t::STREAM_MODE_START_CONTINUOUS);
}