Skip to content

Commit

Permalink
fix #1540
Browse files Browse the repository at this point in the history
  • Loading branch information
tablatronix committed Mar 23, 2023
1 parent 8cf3b43 commit 4611c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ boolean WiFiManager::autoConnect(char const *apName, char const *apPassword) {
}

#ifdef WM_DEBUG_LEVEL
DEBUG_WM(F("AutoConnect: FAILED"));
DEBUG_WM(F("AutoConnect: FAILED for "),(String)((millis()-_startconn)) + " ms");
#endif
// }
// else {
Expand Down Expand Up @@ -1051,7 +1051,7 @@ uint8_t WiFiManager::connectWifi(String ssid, String pass, bool connect) {
connRes = waitForConnectResult(_saveTimeout); // use default save timeout for saves to prevent bugs in esp->waitforconnectresult loop
}
else {
connRes = waitForConnectResult(0);
connRes = waitForConnectResult();
}
// }
}
Expand Down

0 comments on commit 4611c75

Please sign in to comment.