mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
remove CRC in warning message
This commit is contained in:
@@ -156,9 +156,9 @@ void RxService::add(uint8_t * data, uint8_t length) {
|
|||||||
if (data[length - 1] != crc) {
|
if (data[length - 1] != crc) {
|
||||||
if ((data[0] & 0x7F) != ems_bus_id()) { // do not count echos as errors
|
if ((data[0] & 0x7F) != ems_bus_id()) { // do not count echos as errors
|
||||||
telegram_error_count_++;
|
telegram_error_count_++;
|
||||||
LOG_WARNING(F("Rx: %s (CRC %02X != %02X)"), Helpers::data_to_hex(data, length).c_str(), data[length - 1], crc);
|
LOG_WARNING(F("Incomplete Rx: %s"), Helpers::data_to_hex(data, length).c_str());
|
||||||
} else {
|
} else {
|
||||||
LOG_TRACE(F("Rx: %s (CRC %02X != %02X)"), Helpers::data_to_hex(data, length).c_str(), data[length - 1], crc);
|
LOG_TRACE(F("Incomplete Rx: %s"), Helpers::data_to_hex(data, length).c_str());
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user