1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

jT answer should contain empty string

This commit is contained in:
Harald Barth 2023-01-28 19:07:59 +01:00
parent c91d66549c
commit 2a7588b1b5

View File

@ -632,9 +632,7 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream)
tdesc = RMFT2::getTurnoutDescription(id); tdesc = RMFT2::getTurnoutDescription(id);
#endif #endif
if (tdesc == NULL) if (tdesc == NULL)
StringFormatter::send(stream, F(" %d %c"), tdesc = F("");
id,t->isThrown()?'T':'C');
else
StringFormatter::send(stream, F(" %d %c \"%S\""), StringFormatter::send(stream, F(" %d %c \"%S\""),
id,t->isThrown()?'T':'C', id,t->isThrown()?'T':'C',
tdesc); tdesc);