mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[WiFi] Fix build issue on ESP32
This commit is contained in:
@@ -538,7 +538,9 @@ void setWifiMode(WiFiMode_t wifimode) {
|
||||
|
||||
if (wifimode == WIFI_OFF) {
|
||||
delay(1000);
|
||||
#ifdef ESP8266
|
||||
WiFi.forceSleepBegin();
|
||||
#endif
|
||||
delay(1);
|
||||
} else {
|
||||
setupStaticIPconfig();
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ void handle_schedule() {
|
||||
|
||||
if (RTC.lastMixedSchedulerId != mixed_id) {
|
||||
RTC.lastMixedSchedulerId = mixed_id;
|
||||
// saveToRTC();
|
||||
saveToRTC();
|
||||
}
|
||||
|
||||
if (mixed_id == 0) {
|
||||
|
||||
Reference in New Issue
Block a user