1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-25 21:41:23 +01:00

Fix no-loco id

Has to handle -1 correctly
This commit is contained in:
Asbelos 2021-01-28 20:55:54 +00:00
parent 1b19b61ebd
commit 6958f029b7

View File

@ -809,7 +809,7 @@ void DCCEXParser::callback_R(int result)
void DCCEXParser::callback_Rloco(int result) void DCCEXParser::callback_Rloco(int result)
{ {
StringFormatter::send(stashStream, F("<r %d>"), result & 0x3FFF); StringFormatter::send(stashStream, F("<r %d>"), result);
stashBusy = false; stashBusy = false;
} }