aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-03-29 17:13:20 -0700
committerMartin Braun <martin.braun@ettus.com>2018-03-30 14:22:33 -0700
commit4f706e9631f958ef53f2d4ffd0c61342db746332 (patch)
treeb4792f2d515fac50a71984f8c12a77b445d24b29 /host
parent9dddec48e7f5516e0c603d3eb540a169b50fa5a9 (diff)
downloaduhd-4f706e9631f958ef53f2d4ffd0c61342db746332.tar.gz
uhd-4f706e9631f958ef53f2d4ffd0c61342db746332.tar.bz2
uhd-4f706e9631f958ef53f2d4ffd0c61342db746332.zip
dboard eeprom: Demote byte sum message to TRACE
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/dboard_eeprom.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard_eeprom.cpp b/host/lib/usrp/dboard_eeprom.cpp
index fcb27a4cf..0c7e0f3ac 100644
--- a/host/lib/usrp/dboard_eeprom.cpp
+++ b/host/lib/usrp/dboard_eeprom.cpp
@@ -57,7 +57,7 @@ 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_DEBUG("DB_EEPROM", boost::format("byte sum: 0x%02x") % sum)
+ UHD_LOG_TRACE("DB_EEPROM", boost::format("byte sum: 0x%02x") % sum)
return uint8_t(sum);
}
@@ -71,7 +71,11 @@ void dboard_eeprom_t::load(i2c_iface &iface, uint8_t addr){
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)))
+ UHD_LOG_TRACE("DB_EEPROM",
+ boost::format("eeprom byte[0x%02x] = 0x%02x")
+ % i
+ % int(bytes.at(i))
+ );
}
try{