replace esp.reset with restart

This commit is contained in:
Shawn A
2018-01-27 11:41:42 -06:00
parent 867eb4e689
commit 3b6d5f790a
7 changed files with 7 additions and 7 deletions
@@ -51,7 +51,7 @@ void setup() {
if (!wifiManager.autoConnect()) {
Serial.println("failed to connect and hit timeout");
//reset and try again, or maybe put it to deep sleep
ESP.reset();
ESP.restart();
delay(1000);
}