From 342eacfe37623c1105948b237354d68b09f60a6f Mon Sep 17 00:00:00 2001 From: Nagy Attila Gabor Date: Tue, 17 Oct 2017 00:20:19 +0200 Subject: [PATCH] autoConnect did not return true on successfull connection This seems like a simple typo to me --- WiFiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index a7563aa..93da286 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -269,7 +269,7 @@ boolean WiFiManager::startConfigPortal(char const *apName, char const *apPasswo } if(state != WL_IDLE_STATUS){ - result == WL_CONNECTED; + result = state == WL_CONNECTED; break; } yield();