mirror of https://github.com/FOME-Tech/fome-fw.git
this log message deserves a promotion!
This commit is contained in:
parent
c8f1849bc2
commit
7d03120782
|
@ -79,8 +79,7 @@ public class IncomingDataBuffer {
|
|||
|
||||
boolean isCrcOk = actualCrc == packetCrc;
|
||||
if (!isCrcOk) {
|
||||
if (log.debugEnabled())
|
||||
log.debug(String.format("CRC mismatch %x: vs %x", actualCrc, packetCrc));
|
||||
log.error(String.format("CRC mismatch %x: vs %x", actualCrc, packetCrc));
|
||||
return null;
|
||||
}
|
||||
onPacketArrived();
|
||||
|
|
Loading…
Reference in New Issue