[WiFi] Fix build issue on ESP32

This commit is contained in:
Gijs Noorlander
2019-07-29 02:18:05 +02:00
parent ed19925d0a
commit 269c43fadd
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
View File
@@ -87,7 +87,7 @@ void handle_schedule() {
if (RTC.lastMixedSchedulerId != mixed_id) {
RTC.lastMixedSchedulerId = mixed_id;
// saveToRTC();
saveToRTC();
}
if (mixed_id == 0) {