From 54127235c9ef5d99883d7cd44a6ec6530351e0c0 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Wed, 8 Apr 2020 13:49:29 +0200 Subject: [PATCH] Wifi was started twice --- src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 862bcbe3..cf5f2ac3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,7 +62,7 @@ void setup() /* Init Storage */ #if HASP_USE_EEPROM - eepromSetup(); +// eepromSetup(); // Don't start at boot, only at write #endif #if HASP_USE_SPIFFS @@ -92,7 +92,6 @@ void setup() haspSetup(); #if HASP_USE_WIFI - wifiSetup(); #if HASP_USE_HTTP httpSetup(); @@ -120,7 +119,7 @@ void setup() buttonSetup(); #endif - mainLastLoopTime = millis() - 1000; + mainLastLoopTime = millis() - 1000; // reset loop counter } void loop()