From f1e657e2b82bd90d259efd55cd70b82fde42aefd Mon Sep 17 00:00:00 2001 From: Norbert Date: Mon, 4 Jun 2018 13:51:29 +0200 Subject: [PATCH] Fixed Waiting for connection result with time out issue --- WiFiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 1e6d805..cbf020c 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -319,7 +319,7 @@ uint8_t WiFiManager::waitForConnectResult() { keepConnecting = false; DEBUG_WM (F("Connection timed out")); } - if (status == WL_CONNECTED || status == WL_CONNECT_FAILED) { + if (status == WL_CONNECTED) { keepConnecting = false; } delay(100);