1
0
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:
Harald Barth 2024-01-10 08:18:14 +01:00
parent ca380d11dc
commit 27bd444884

View File

@ -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));