diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-04-05 23:18:08 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-04-05 23:18:08 -0700 |
commit | af75b87e51a7c555a61f5f40f0d19f2fde04e43b (patch) | |
tree | 0f33663855098a165970e3249a9098b3be812371 /host/lib/usrp/usrp1 | |
parent | 4ab72eb9991d503d8cd329b31572d966ef0e1ae8 (diff) | |
download | uhd-af75b87e51a7c555a61f5f40f0d19f2fde04e43b.tar.gz uhd-af75b87e51a7c555a61f5f40f0d19f2fde04e43b.tar.bz2 uhd-af75b87e51a7c555a61f5f40f0d19f2fde04e43b.zip |
logging: Demoted a number of DEBUG messages to TRACE
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r-- | host/lib/usrp/usrp1/codec_ctrl.cpp | 6 | ||||
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_iface.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/usrp1/codec_ctrl.cpp b/host/lib/usrp/usrp1/codec_ctrl.cpp index 73b97aa13..bb81ec3e7 100644 --- a/host/lib/usrp/usrp1/codec_ctrl.cpp +++ b/host/lib/usrp/usrp1/codec_ctrl.cpp @@ -277,7 +277,7 @@ void usrp1_codec_ctrl_impl::send_reg(uint8_t addr) { uint32_t reg = _ad9862_regs.get_write_reg(addr); - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "codec control write reg: 0x" << std::setw(8) << std::hex << reg ; @@ -289,7 +289,7 @@ void usrp1_codec_ctrl_impl::recv_reg(uint8_t addr) { uint32_t reg = _ad9862_regs.get_read_reg(addr); - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "codec control read reg: 0x" << std::setw(8) << std::hex << reg ; @@ -297,7 +297,7 @@ void usrp1_codec_ctrl_impl::recv_reg(uint8_t addr) uint32_t ret = _iface->read_spi(_spi_slave, spi_config_t::EDGE_RISE, reg, 16); - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "codec control read ret: 0x" << std::setw(8) << std::hex << ret ; diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp index 2d28ad542..9390714ae 100644 --- a/host/lib/usrp/usrp1/usrp1_iface.cpp +++ b/host/lib/usrp/usrp1/usrp1_iface.cpp @@ -49,7 +49,7 @@ public: { uint32_t swapped = uhd::htonx(value); - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "poke32(" << std::dec << std::setw(2) << addr << ", 0x" << std::hex << std::setw(8) << value << ")" @@ -70,7 +70,7 @@ public: uint32_t peek32(const uint32_t addr) { - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "peek32(" << std::dec << std::setw(2) << addr << ")" ; @@ -129,7 +129,7 @@ public: size_t num_bits, bool readback) { - UHD_LOGGER_DEBUG("USRP1") + UHD_LOGGER_TRACE("USRP1") << "transact_spi: " << " slave: " << which_slave << " bits: " << bits |