From 7eae489b9e7112c5d0b62e00f69143f90140a512 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Thu, 23 Jul 2020 12:48:58 +0100 Subject: [PATCH] Withrottle format char wrong --- WiThrottle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiThrottle.cpp b/WiThrottle.cpp index 7f2aadb..09419ce 100644 --- a/WiThrottle.cpp +++ b/WiThrottle.cpp @@ -103,7 +103,7 @@ void WiThrottle::parse(Print & stream, byte * cmdx) { DCCWaveform::mainTrack.getPowerMode()==POWERMODE::ON); for(Turnout *tt=Turnout::firstTurnout;tt!=NULL;tt=tt->nextTurnout){ - StringFormatter::send(stream,F("]\\[LT&d}|{%d}|{%d"), tt->data.id, tt->data.id, (bool)(tt->data.tStatus & STATUS_ACTIVE)); + StringFormatter::send(stream,F("]\\[LT%d}|{%d}|{%d"), tt->data.id, tt->data.id, (bool)(tt->data.tStatus & STATUS_ACTIVE)); } StringFormatter::send(stream,F("\n*10\n")); }