aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.cpp
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-02-27 14:23:56 -0800
committerMartin Braun <martin.braun@ettus.com>2018-03-07 16:16:42 -0800
commit3645139e7d51d92f4bfe4148eefad2c22b40147a (patch)
treedbd72ebe0c79e4c16283d380cf5232a69dc2fbe6 /host/lib/usrp/b200/b200_impl.cpp
parentcaf3cb87d22c4ba1920b3b5d8a753f7a29b4b6db (diff)
downloaduhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.tar.gz
uhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.tar.bz2
uhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.zip
uhd: Fix some log statements
Some log statements were incorrectly using multi-line log statements.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.cpp')
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index 4a96b514b..570994496 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -886,7 +886,7 @@ void b200_impl::setup_radio(const size_t dspno)
void b200_impl::register_loopback_self_test(wb_iface::sptr iface)
{
bool test_fail = false;
- UHD_LOGGER_INFO("B200") << "Performing register loopback test... " << std::flush;
+ UHD_LOGGER_INFO("B200") << "Performing register loopback test... ";
size_t hash = size_t(time(NULL));
for (size_t i = 0; i < 100; i++)
{
@@ -895,7 +895,7 @@ void b200_impl::register_loopback_self_test(wb_iface::sptr iface)
test_fail = iface->peek32(RB32_TEST) != uint32_t(hash);
if (test_fail) break; //exit loop on any failure
}
- UHD_LOGGER_INFO("B200") << ((test_fail)? "fail" : "pass") ;
+ UHD_LOGGER_INFO("B200") << "Register loopback test " << ((test_fail)? "failed" : "passed") ;
}
/***********************************************************************