From a07ab9484f17317419aeab2f9fd3af5d7aacd5a2 Mon Sep 17 00:00:00 2001 From: mstevetodd Date: Tue, 25 Apr 2023 16:17:48 -0400 Subject: [PATCH] Revert "Fix: turnout state should be 2/4, not T2/T4" --- WiThrottle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiThrottle.cpp b/WiThrottle.cpp index f081270..60bdf7d 100644 --- a/WiThrottle.cpp +++ b/WiThrottle.cpp @@ -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); }