mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
fix <JA /<JR confusion
This commit is contained in:
parent
d877fc315e
commit
4c89b26c79
|
@ -123,7 +123,7 @@ void RMFT2::ComandFilter(Print * stream, byte & opcode, byte & paramCount, int16
|
|||
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])
|
||||
switch(p[0]) {
|
||||
case HASH_KEYWORD_A: // <JA> returns automations/routes
|
||||
if (paramCount==1) {// <JA>
|
||||
StringFormatter::send(stream, F("<jA"));
|
||||
|
@ -151,6 +151,9 @@ void RMFT2::ComandFilter(Print * stream, byte & opcode, byte & paramCount, int16
|
|||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
default: // other commands pass through
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user