From 638db8f8c02a44165693f902f1cecb09f1bcd277 Mon Sep 17 00:00:00 2001 From: gemi254 Date: Tue, 16 May 2023 13:03:10 +0300 Subject: [PATCH] Updated v1.1.2 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 6f41a50..1e4ea11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,7 @@ #include //Config assist class #include "user-variables.h" -#define DEF_LOG_LEVEL '2' //Errors & Warnings +#define DEF_LOG_LEVEL '4' //Errors & Warnings #define APP_VER "1.1.2" // Updated configAssist v 2.6.2 //#define APP_VER "1.1.1" // Setup webserver on AP to allow live measurements without internet. Synchronize time on AP mode. @@ -192,6 +192,7 @@ void setup() pServer = new WebServer(80); //Start ap and register configAssist handlers conf.setup(*pServer, true); + apStarted = true; //Register app webserver handlers registerHandlers(); @@ -200,7 +201,6 @@ void setup() startWebSockets(); ResetCountdownTimer("AP start"); - apStarted = true; initSensors(); return; }