mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-19 17:31:30 +10:00
replace esp.reset with restart
This commit is contained in:
@@ -30,7 +30,7 @@ void setup() {
|
||||
Serial.println("failed to connect and hit timeout");
|
||||
delay(3000);
|
||||
//reset and try again, or maybe put it to deep sleep
|
||||
ESP.reset();
|
||||
ESP.restart();
|
||||
delay(5000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user