From 0edd07fbd2312b4a3f64ca906171c67092e309af Mon Sep 17 00:00:00 2001 From: bogdan Date: Mon, 10 Jun 2024 19:39:08 +0200 Subject: [PATCH] second MQTT always off for reduce memory consumption --- src/SysConfiguration.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SysConfiguration.c b/src/SysConfiguration.c index de2c656..7ca872d 100644 --- a/src/SysConfiguration.c +++ b/src/SysConfiguration.c @@ -376,9 +376,6 @@ esp_netif_str_to_ip4(CONFIG_WEBGUIAPP_DNS3_ADDRESS_DEFAULT, (esp_ip4_addr_t*) &C sizeof(CONFIG_WEBGUIAPP_MQTT_PASSWORD)); #if CONFIG_WEBGUIAPP_MQTT_CLIENTS_NUM == 2 Conf->mqttStation[1].Flags1.bIsGlobalEnabled = false; -#if CONFIG_WEBGUIAPP_MQTT_ON - Conf->mqttStation[1].Flags1.bIsGlobalEnabled = true; -#endif memcpy(Conf->mqttStation[1].ServerAddr, CONFIG_WEBGUIAPP_MQTT_SERVER_URL, sizeof(CONFIG_WEBGUIAPP_MQTT_SERVER_URL)); Conf->mqttStation[1].ServerPort = CONFIG_WEBGUIAPP_MQTT_SERVER_PORT; memcpy(Conf->mqttStation[1].SystemName, CONFIG_WEBGUIAPP_MQTT_SYSTEM_NAME,