aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-11-08 15:56:46 -0800
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:33 -0800
commit14fb3cc6f4c63303a7f35b81087c31eb494f7166 (patch)
tree9a157743854ff731cf6443dce4fe3c6a465627b0 /host/lib
parentd60e4d87d8e83cc7810af2b8a9e01147096b3475 (diff)
downloaduhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.tar.gz
uhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.tar.bz2
uhd-14fb3cc6f4c63303a7f35b81087c31eb494f7166.zip
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
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/e3xx/e31x_radio_control_impl.cpp10
1 files changed, 3 insertions, 7 deletions
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 |