1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 04:41:24 +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);
#endif
if (tdesc == NULL)
StringFormatter::send(stream, F(" %d %c"),
id,t->isThrown()?'T':'C');
else
StringFormatter::send(stream, F(" %d %c \"%S\""),
id,t->isThrown()?'T':'C',
tdesc);
tdesc = F("");
StringFormatter::send(stream, F(" %d %c \"%S\""),
id,t->isThrown()?'T':'C',
tdesc);
}
}
StringFormatter::send(stream, F(">\n"));