mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
Revert "Fix: turnout state should be 2/4, not T2/T4"
This commit is contained in:
parent
fcf05206b4
commit
a07ab9484f
|
@ -127,7 +127,7 @@ void WiThrottle::parse(RingStream * stream, byte * cmdx) {
|
||||||
#endif
|
#endif
|
||||||
char tchar=Turnout::isClosed(id)?'2':'4';
|
char tchar=Turnout::isClosed(id)?'2':'4';
|
||||||
if (tdesc==NULL) // turnout with no description
|
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
|
else
|
||||||
StringFormatter::send(stream,F("]\\[%d}|{%S}|{%c"), id,tdesc,tchar);
|
StringFormatter::send(stream,F("]\\[%d}|{%S}|{%c"), id,tdesc,tchar);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user