From 5775df5b36f66fa41f74e4d4c0c8f6998ab85c8b Mon Sep 17 00:00:00 2001 From: sude22 Date: Fri, 10 Jun 2022 07:05:13 +0200 Subject: [PATCH] don't set MQTT topic to fixed value 'inverter' --- tools/esp8266/app.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/esp8266/app.cpp b/tools/esp8266/app.cpp index f037a35f4..9c7acb380 100644 --- a/tools/esp8266/app.cpp +++ b/tools/esp8266/app.cpp @@ -130,8 +130,6 @@ void app::setup(uint32_t timeout) { mMqttActive = true; if(mMqttInterval < 1) mMqttInterval = 10; - - snprintf(mqttTopic, MQTT_TOPIC_LEN, "inverter"); } else mMqttInterval = 0xffff;