From 5501823223ae7648413d3747badf9553bbd71578 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 18 Jul 2017 10:55:59 -0700 Subject: ubx: Fixed UHD_MSG style log messages --- host/lib/usrp/dboard/db_ubx.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp') diff --git a/host/lib/usrp/dboard/db_ubx.cpp b/host/lib/usrp/dboard/db_ubx.cpp index 21308b08c..b4cceac7a 100644 --- a/host/lib/usrp/dboard/db_ubx.cpp +++ b/host/lib/usrp/dboard/db_ubx.cpp @@ -309,7 +309,9 @@ public: try { _iface->set_clock_rate(dboard_iface::UNIT_RX, highest_rate); } catch (const uhd::not_implemented_error &) { - UHD_MSG(warning) << "Unable to set dboard clock rate - phase will vary" << std::endl; + UHD_LOG_WARNING("UBX", + "Unable to set dboard clock rate - phase will vary" + ); can_set_clock_rate = false; } _rx_target_pfd_freq = highest_rate; @@ -326,7 +328,9 @@ public: try { _iface->set_clock_rate(dboard_iface::UNIT_TX, highest_rate); } catch (const uhd::not_implemented_error &) { - UHD_MSG(warning) << "Unable to set dboard clock rate - phase will vary" << std::endl; + UHD_LOG_WARNING("UBX", + "Unable to set dboard clock rate - phase will vary" + ); } _tx_target_pfd_freq = highest_rate; } -- cgit v1.2.3