autoConnect did not return true on successfull connection

This seems like a simple typo to me
This commit is contained in:
Nagy Attila Gabor
2017-10-17 00:20:19 +02:00
parent cf51018512
commit 342eacfe37
+1 -1
View File
@@ -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();