aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-07-19 11:54:32 -0700
committerMartin Braun <martin.braun@ettus.com>2019-08-25 18:58:57 -0700
commit3c977dcecc39ee1d2a17d1aa3bbc864a3ffb5681 (patch)
treeac2bd41ee69b9ec192f4f612ecab85f0e622d832
parenta6f253b8859ca52351ec36dd789908793d363a5b (diff)
downloaduhd-3c977dcecc39ee1d2a17d1aa3bbc864a3ffb5681.tar.gz
uhd-3c977dcecc39ee1d2a17d1aa3bbc864a3ffb5681.tar.bz2
uhd-3c977dcecc39ee1d2a17d1aa3bbc864a3ffb5681.zip
dboard_eeprom: Remove trace logs for EEPROM readout
-rw-r--r--host/lib/usrp/dboard_eeprom.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/host/lib/usrp/dboard_eeprom.cpp b/host/lib/usrp/dboard_eeprom.cpp
index 0c7e0f3ac..54a2ea196 100644
--- a/host/lib/usrp/dboard_eeprom.cpp
+++ b/host/lib/usrp/dboard_eeprom.cpp
@@ -57,7 +57,6 @@ static uint8_t checksum(const byte_vector_t &bytes){
for (size_t i = 0; i < std::min(bytes.size(), size_t(DB_EEPROM_CHKSUM)); i++){
sum -= int(bytes.at(i));
}
- UHD_LOG_TRACE("DB_EEPROM", boost::format("byte sum: 0x%02x") % sum)
return uint8_t(sum);
}
@@ -70,13 +69,6 @@ void dboard_eeprom_t::load(i2c_iface &iface, uint8_t addr){
byte_vector_t bytes = iface.read_eeprom(addr, 0, DB_EEPROM_CLEN);
std::ostringstream ss;
- for (size_t i = 0; i < bytes.size(); i++){
- UHD_LOG_TRACE("DB_EEPROM",
- boost::format("eeprom byte[0x%02x] = 0x%02x")
- % i
- % int(bytes.at(i))
- );
- }
try{
UHD_ASSERT_THROW(bytes.size() >= DB_EEPROM_CLEN);