diff -r 2cf4b15895f2 -r 1ab1f4a8c328 main/config.h --- a/main/config.h Sat Jan 25 12:02:22 2020 +0100 +++ b/main/config.h Sat Mar 14 13:07:02 2020 +0100 @@ -40,7 +40,6 @@ #include "esp_spi_flash.h" #include "esp_ota_ops.h" #include "esp_http_client.h" -#include "nvs.h" #include "nvs_flash.h" #include "lwip/sockets.h" #include "lwip/dns.h" @@ -71,9 +70,6 @@ ML1_WAITCON, ///< Wait for connection and measurements ML1_SEND, ///< Send MQTT node and units messages ML1_WAITACK, ///< MQTT messages received - ML1_MQTT_DISCONNECT, ///< MQTT disconnect - ML1_DISCONNECT, ///< Disconnect WiFi - ML1_WIFI_OFF, ///< WiFi power off ML1_DONE ///< All done } ML1;