From 14fb3cc6f4c63303a7f35b81087c31eb494f7166 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Nov 2019 15:56:46 -0800 Subject: e310: Fix issues in MPM and UHD - Remove superfluous INFO logging - Improve formatting in many places - Improve Pylint score in various places - Add tear_down to DB object - Simplify custom EEPROM code for E310 - Fix time source selection code - Remove references to GPS_CTRL and GPS_STATUS (are E320 only) - Move clock source control out of MboardRegs object --- host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'host/lib/usrp/dboard/e3xx') diff --git a/host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp b/host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp index b7524e04c..97a90ad5b 100644 --- a/host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp +++ b/host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp @@ -115,9 +115,7 @@ uint32_t e31x_radio_control_impl::get_rx_switches( vctxrx_sw = (fe_chan == 0) ? VCTXRX1_SW_RX: VCTXRX2_SW_RX; } - RFNOC_LOG_INFO("RX freq = " << freq); const auto band = e3xx_radio_control_impl::map_freq_to_rx_band(freq); - RFNOC_LOG_INFO("RX band = " << int(band)); switch(band) { case rx_band::LB_B2: @@ -161,11 +159,9 @@ uint32_t e31x_radio_control_impl::get_rx_switches( UHD_THROW_INVALID_CODE_PATH(); break; } - RFNOC_LOG_INFO("RX SW1 = " << rx_sw1); - RFNOC_LOG_INFO("RX SWC = " << rx_swc); - RFNOC_LOG_INFO("RX SWB = " << rx_swb); - RFNOC_LOG_INFO("RX VCRX_SW = " << vcrx_sw); - RFNOC_LOG_INFO("RX VCTXRX_SW = " << vctxrx_sw); + RFNOC_LOG_TRACE("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