1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 23:56:13 +01:00

Fix <jB active/inactive transposed

This commit is contained in:
Asbelos 2023-11-11 17:31:38 +00:00
parent 4c89b26c79
commit 148d4d30f8
2 changed files with 2 additions and 3 deletions

View File

@ -926,10 +926,10 @@ void RMFT2::loop2() {
case OPCODE_ROUTE_HIDDEN:
manageRouteState(operand,2);
break;
case OPCODE_ROUTE_ACTIVE:
case OPCODE_ROUTE_INACTIVE:
manageRouteState(operand,0);
break;
case OPCODE_ROUTE_INACTIVE:
case OPCODE_ROUTE_ACTIVE:
manageRouteState(operand,1);
break;

View File

@ -121,7 +121,6 @@ void RMFT2::ComandFilter(Print * stream, byte & opcode, byte & paramCount, int16
break;
case 'J': // throttle info commands
// This entire code block is compiled out if FEATURE_ROUTESTATE macros not used
if (paramCount<1) return;
switch(p[0]) {
case HASH_KEYWORD_A: // <JA> returns automations/routes