1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 18:03:45 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
mstevetodd
a07ab9484f Revert "Fix: turnout state should be 2/4, not T2/T4" 2023-04-25 16:17:48 -04:00

View File

@@ -127,7 +127,7 @@ void WiThrottle::parse(RingStream * stream, byte * cmdx) {
#endif
char tchar=Turnout::isClosed(id)?'2':'4';
if (tdesc==NULL) // turnout with no description
StringFormatter::send(stream,F("]\\[%d}|{T%d}|{%c"), id,id,tchar);
StringFormatter::send(stream,F("]\\[%d}|{T%d}|{T%c"), id,id,tchar);
else
StringFormatter::send(stream,F("]\\[%d}|{%S}|{%c"), id,tdesc,tchar);
}