1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

ACK diagnostics

Type <D 1> to enable
This commit is contained in:
Asbelos
2020-07-01 10:27:53 +01:00
parent 5269177f2e
commit bec57345f1
3 changed files with 64 additions and 28 deletions

View File

@@ -227,6 +227,11 @@ void DCCEXParser::parse(Print & stream, const byte *com) {
StringFormatter::send(stream,F("\n"));
return;
case 'D': // < >
DCC::setDebug(p[0]==1);
DIAG(F("\nDCC DEBUG MODE %d"),p[0]==1);
return;
default: //anything else will drop out to <X>
break;