From 0619ebff11c95878f04d24aaa2417839ce68cb31 Mon Sep 17 00:00:00 2001 From: Joe Tretter Date: Sun, 17 Sep 2023 17:29:24 -0500 Subject: [PATCH] Restart on WiFi lost --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 19d7c5a..6808096 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -318,7 +318,9 @@ void loop(void) { if (WL_CONNECTED != WiFi.status()){ WiFi.disconnect(); delay(1000); - wifiSetup(); + // This didn't work - let's try rebooting instead. + // wifiSetup(); + ESP.restart(); } server.handleClient();