mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 21:21:24 +01:00
Numbers for automations/routes can be negative
This commit is contained in:
parent
ca380d11dc
commit
27bd444884
@ -134,7 +134,7 @@ void RMFT2::ComandFilter(Print * stream, byte & opcode, byte & paramCount, int16
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (paramCount==2) { // <JA id>
|
if (paramCount==2) { // <JA id>
|
||||||
uint16_t id=p[1];
|
int16_t id=p[1];
|
||||||
StringFormatter::send(stream,F("<jA %d %c \"%S\">\n"),
|
StringFormatter::send(stream,F("<jA %d %c \"%S\">\n"),
|
||||||
id, getRouteType(id), getRouteDescription(id));
|
id, getRouteType(id), getRouteDescription(id));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user