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 */
|
/* Init Storage */
|
||||||
#if HASP_USE_EEPROM
|
#if HASP_USE_EEPROM
|
||||||
eepromSetup();
|
// eepromSetup(); // Don't start at boot, only at write
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_SPIFFS
|
#if HASP_USE_SPIFFS
|
||||||
@ -92,7 +92,6 @@ void setup()
|
|||||||
haspSetup();
|
haspSetup();
|
||||||
|
|
||||||
#if HASP_USE_WIFI
|
#if HASP_USE_WIFI
|
||||||
wifiSetup();
|
|
||||||
|
|
||||||
#if HASP_USE_HTTP
|
#if HASP_USE_HTTP
|
||||||
httpSetup();
|
httpSetup();
|
||||||
@ -120,7 +119,7 @@ void setup()
|
|||||||
buttonSetup();
|
buttonSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mainLastLoopTime = millis() - 1000;
|
mainLastLoopTime = millis() - 1000; // reset loop counter
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user