mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Bug: Withrottle roster list end was not detected
This commit is contained in:
parent
50313ebbd2
commit
5a9adea2b6
|
@ -536,7 +536,7 @@ void WiThrottle::sendRoster(Print* stream) {
|
||||||
if (cabid > 0)
|
if (cabid > 0)
|
||||||
StringFormatter::send(stream,F("]\\[%S}|{%d}|{%c"),
|
StringFormatter::send(stream,F("]\\[%S}|{%d}|{%c"),
|
||||||
RMFT2::getRosterName(cabid),cabid,cabid<128?'S':'L');
|
RMFT2::getRosterName(cabid),cabid,cabid<128?'S':'L');
|
||||||
else if (cabid == INT16_MAX)
|
if (cabid == INT16_MAX)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
StringFormatter::send(stream,F("\n"));
|
StringFormatter::send(stream,F("\n"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user