[WEBUI] Fix index (#1992)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
6441175262
commit
d43d93f151
1 file changed
+1
-1
+1
-1
@@ -766,7 +766,7 @@ void handleMQ() {
|
|||||||
# ifndef ESPWifiManualSetup
|
# ifndef ESPWifiManualSetup
|
||||||
if (update) {
|
if (update) {
|
||||||
Log.warning(F("[WebUI] Save MQTT and Reconnect" CR));
|
Log.warning(F("[WebUI] Save MQTT and Reconnect" CR));
|
||||||
WEBtoSYS["cnt_index"] = 1; // For the moment we only enable to change index 1 with WebUI
|
WEBtoSYS["cnt_index"] = CNT_DEFAULT_INDEX;
|
||||||
WEBtoSYS["save_cnt"] = true;
|
WEBtoSYS["save_cnt"] = true;
|
||||||
char jsonChar[100];
|
char jsonChar[100];
|
||||||
serializeJson(modules, jsonChar, measureJson(modules) + 1);
|
serializeJson(modules, jsonChar, measureJson(modules) + 1);
|
||||||
|
|||||||
Reference in new issue
Block a user