Skip to content

Commit

Permalink
fixes wifi setting not saved
Browse files Browse the repository at this point in the history
fixes ecodina#3
  • Loading branch information
anubisg1 authored Sep 19, 2021
1 parent 6256186 commit aeac3fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esp8266-hunter-sprinkler/src/wifi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
void setupWifi() {
DNSServer dns;

WiFi.persistent(true);
AsyncWiFiManager wifiManager(&server, &dns);
//wifiManager.resetSettings();

Expand All @@ -44,4 +45,4 @@ bool checkWifiConnection(bool nextTimeShouldReboot) {
ESP.restart();
}
return false;
}
}

0 comments on commit aeac3fe

Please sign in to comment.