From 473a3e148a99e258e26a7f09c2d82bb8ed4e50f6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 19 Nov 2019 15:18:29 -0800 Subject: e31x: Remove spurious debug logs This demotes INFO logs to TRACE that relate to the switch settings during tuning. --- host/lib/usrp/dboard/e3xx/e31x_radio_ctrl_impl.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'host/lib/usrp/dboard/e3xx') diff --git a/host/lib/usrp/dboard/e3xx/e31x_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/e3xx/e31x_radio_ctrl_impl.cpp index 33565102c..60df247a2 100644 --- a/host/lib/usrp/dboard/e3xx/e31x_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/e3xx/e31x_radio_ctrl_impl.cpp @@ -206,9 +206,7 @@ uint32_t e31x_radio_ctrl_impl::get_rx_switches( vctxrx_sw = (fe_chan == 0) ? VCTXRX1_SW_RX: VCTXRX2_SW_RX; } - UHD_LOG_INFO(unique_id(), "RX freq = " << freq); const auto band = e3xx_radio_ctrl_impl::map_freq_to_rx_band(freq); - UHD_LOG_INFO(unique_id(), "RX band = " << int(band)); switch(band) { case rx_band::LB_B2: @@ -253,11 +251,11 @@ uint32_t e31x_radio_ctrl_impl::get_rx_switches( UHD_THROW_INVALID_CODE_PATH(); break; } - UHD_LOG_INFO(unique_id(), "RX SW1 = " << rx_sw1); - UHD_LOG_INFO(unique_id(), "RX SWC = " << rx_swc); - UHD_LOG_INFO(unique_id(), "RX SWB = " << rx_swb); - UHD_LOG_INFO(unique_id(), "RX VCRX_SW = " << vcrx_sw); - UHD_LOG_INFO(unique_id(), "RX VCTXRX_SW = " << vctxrx_sw); + + UHD_LOG_TRACE(unique_id(), + "RX band = " << int(band) << "RX SW1 = " << rx_sw1 << "RX SWC = " << rx_swc + << "RX SWB = " << rx_swb << "RX VCRX_SW = " << vcrx_sw + << "RX VCTXRX_SW = " << vctxrx_sw); auto rx_regs = 0 | vcrx_sw << VCRX_SW_SHIFT | -- cgit v1.2.3