mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-25 13:41:23 +01:00
Fix no-loco id
Has to handle -1 correctly
This commit is contained in:
parent
1b19b61ebd
commit
6958f029b7
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user