Skip to content

Commit

Permalink
Fix <jB active/inactive transposed
Browse files Browse the repository at this point in the history
  • Loading branch information
Asbelos committed Nov 11, 2023
1 parent 4c89b26 commit 148d4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions EXRAIL2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion EXRAIL2Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 148d4d3

Please sign in to comment.