1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 21:01:25 +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,12 +632,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"));