diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-31 12:19:17 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-31 12:19:17 -0700 |
commit | c9cd9b605897078daed77c8b7f9c538cb77bd4bc (patch) | |
tree | 7000f200eebe2b0b76dbab6e2f8fa066a0e82e11 /host/lib/usrp/usrp1 | |
parent | 5b546c5075033cc3f5a9bc8c91f26a0c51c35d68 (diff) | |
download | uhd-c9cd9b605897078daed77c8b7f9c538cb77bd4bc.tar.gz uhd-c9cd9b605897078daed77c8b7f9c538cb77bd4bc.tar.bz2 uhd-c9cd9b605897078daed77c8b7f9c538cb77bd4bc.zip |
usrp1: flush for flow error messages
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r-- | host/lib/usrp/usrp1/io_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp index 920c47b30..92e8bc20a 100644 --- a/host/lib/usrp/usrp1/io_impl.cpp +++ b/host/lib/usrp/usrp1/io_impl.cpp @@ -189,7 +189,7 @@ bool usrp1_impl::io_impl::check_underrun(usrp_ctrl::sptr ctrl_if, if (ret < 0) std::cerr << "USRP: underrun check failed" << std::endl; if (underrun) - std::cerr << "Uu"; + std::cerr << "U" << std::flush; send_state.underrun_poll_samp_count = 0; } @@ -289,7 +289,7 @@ bool usrp1_impl::io_impl::check_overrun(usrp_ctrl::sptr ctrl_if, if (ret < 0) std::cerr << "USRP: overrrun check failed" << std::endl; if (overrun) - std::cerr << "Oo"; + std::cerr << "O" << std::flush; recv_state.overrun_poll_samp_count = 0; } |