mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +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)
|
||||
StringFormatter::send(stream,F("]\\[%S}|{%d}|{%c"),
|
||||
RMFT2::getRosterName(cabid),cabid,cabid<128?'S':'L');
|
||||
else if (cabid == INT16_MAX)
|
||||
if (cabid == INT16_MAX)
|
||||
break;
|
||||
}
|
||||
StringFormatter::send(stream,F("\n"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user