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

Changes associated with RCN-213 DCC Accessory Packet format

This commit is contained in:
Neil McKechnie
2021-08-23 12:43:14 +01:00
parent ca55834051
commit f0cd96fed3
5 changed files with 66 additions and 30 deletions

View File

@@ -682,10 +682,10 @@ bool DCCEXParser::parseT(Print *stream, int16_t params, int16_t p[])
// By default turnout command uses 0=throw, 1=close,
// but legacy DCC++ behaviour is 1=throw, 0=close.
case 0:
state = Turnout::useLegacyTurnoutBehaviour;
state = Turnout::useClassicTurnoutCommands;
break;
case 1:
state = !Turnout::useLegacyTurnoutBehaviour;
state = !Turnout::useClassicTurnoutCommands;
break;
case HASH_KEYWORD_C:
state = true;