mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 16:46:13 +01:00
Compare commits
No commits in common. "7db4a9575a83b79499e75660e8306453acb1aef3" and "ce84974967cd9771479116a7cde2dfd2d1b627e9" have entirely different histories.
7db4a9575a
...
ce84974967
|
@ -805,14 +805,10 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream)
|
||||||
SENDFLASHLIST(stream,RMFT2::rosterIdList)
|
SENDFLASHLIST(stream,RMFT2::rosterIdList)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
auto rosterName= RMFT2::getRosterName(id);
|
const FSH * functionNames= RMFT2::getRosterFunctions(id);
|
||||||
if (!rosterName) rosterName=F("");
|
|
||||||
|
|
||||||
auto functionNames= RMFT2::getRosterFunctions(id);
|
|
||||||
if (!functionNames) functionNames=RMFT2::getRosterFunctions(0);
|
|
||||||
if (!functionNames) functionNames=F("");
|
|
||||||
StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
|
StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
|
||||||
id, rosterName, functionNames);
|
id, RMFT2::getRosterName(id),
|
||||||
|
functionNames == NULL ? RMFT2::getRosterFunctions(0) : functionNames);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
StringFormatter::send(stream, F(">\n"));
|
StringFormatter::send(stream, F(">\n"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user