mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Wifi was started twice
This commit is contained in:
parent
a517c5f579
commit
54127235c9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user