1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-06-29 10:35:24 +02:00

remove broken debug code

This commit is contained in:
Harald Barth 2025-06-26 22:32:12 +02:00
parent b8e1583b71
commit 48908c99a8

View File

@ -42,7 +42,6 @@ bool DCCDecoder::parse(DCCPacket &p) {
for (byte n = 0; n < p.len(); n++) for (byte n = 0; n < p.len(); n++)
checksum ^= d[n]; checksum ^= d[n];
if (checksum) { // Result should be zero, if not it's an error! if (checksum) { // Result should be zero, if not it's an error!
digitalWrite(2,HIGH);
DIAG(F("Checksum error")); DIAG(F("Checksum error"));
return false; return false;
} }