Skip to content

Commit

Permalink
jT answer should contain empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed Jan 29, 2023
1 parent 1f5eafb commit 7e4f9eb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions DCCEXParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 7e4f9eb

Please sign in to comment.