1
0
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:
Harald Barth 2023-05-25 08:05:07 +02:00
parent 50313ebbd2
commit 5a9adea2b6

View File

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