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

jT answer should contain empty string

This commit is contained in:
Harald Barth 2023-01-28 19:07:59 +01:00
parent 1f5eafbcca
commit 7e4f9eb0e1

View File

@ -605,12 +605,10 @@ 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'); StringFormatter::send(stream, F(" %d %c \"%S\""),
else id,t->isThrown()?'T':'C',
StringFormatter::send(stream, F(" %d %c \"%S\""), tdesc);
id,t->isThrown()?'T':'C',
tdesc);
} }
} }
StringFormatter::send(stream, F(">\n")); StringFormatter::send(stream, F(">\n"));