From 21e19128f99beea7076a9f72652bca0b2a7defbc Mon Sep 17 00:00:00 2001 From: Gregor Baues Date: Mon, 7 Jun 2021 09:42:46 +0200 Subject: [PATCH] Added ifndef to the command not showing T/S/O --- DCCEXParser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index bc2045e..b10c9aa 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -501,9 +501,11 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) case 's': // StringFormatter::send(stream, F("\n"), DCCWaveform::mainTrack.getPowerMode() == POWERMODE::ON); StringFormatter::send(stream, F("\n"), F(VERSION), F(ARDUINO_TYPE), DCC::getMotorShieldName(), F(GITHUB_SHA)); +#ifndef MQTT_ON // the return can get really large depending on the #of items defined and the outputbuffer will overflow Turnout::printAll(stream); //send all Turnout states Output::printAll(stream); //send all Output states Sensor::printAll(stream); //send all Sensor states +#endif // TODO Send stats of speed reminders table return;