diff --git a/esp8266-hunter-sprinkler/src/wifi.cpp b/esp8266-hunter-sprinkler/src/wifi.cpp index 5b0152c..b4f0aae 100644 --- a/esp8266-hunter-sprinkler/src/wifi.cpp +++ b/esp8266-hunter-sprinkler/src/wifi.cpp @@ -20,6 +20,7 @@ void setupWifi() { DNSServer dns; + WiFi.persistent(true); AsyncWiFiManager wifiManager(&server, &dns); //wifiManager.resetSettings(); @@ -44,4 +45,4 @@ bool checkWifiConnection(bool nextTimeShouldReboot) { ESP.restart(); } return false; -} \ No newline at end of file +}