mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
roster list half error
This commit is contained in:
parent
eed1237b9f
commit
5e2b416c30
|
@ -298,7 +298,7 @@ void WiThrottle::parse(RingStream * stream, byte * cmdx) {
|
||||||
#ifdef EXRAIL_ACTIVE
|
#ifdef EXRAIL_ACTIVE
|
||||||
StringFormatter::send(stream,F("RL%d"), RMFT2::rosterNameCount);
|
StringFormatter::send(stream,F("RL%d"), RMFT2::rosterNameCount);
|
||||||
for (int16_t r=0;r<RMFT2::rosterNameCount;r++) {
|
for (int16_t r=0;r<RMFT2::rosterNameCount;r++) {
|
||||||
int16_t cabid=GETFLASHW(RMFT2::rosterIdList+r);
|
int16_t cabid=GETFLASHW(RMFT2::rosterIdList+r*2);
|
||||||
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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user