mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-29 10:23:45 +02:00
DCCPacket: Print to USB_SERIAL in HEX
This commit is contained in:
@@ -42,7 +42,8 @@ bool DCCDecoder::parse(DCCPacket &p) {
|
||||
for (byte n = 0; n < p.len(); n++)
|
||||
checksum ^= d[n];
|
||||
if (checksum) { // Result should be zero, if not it's an error!
|
||||
DIAG(F("Checksum error"));
|
||||
DIAG(F("Checksum error:"));
|
||||
p.print();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user