Skip to content

Commit

Permalink
increased wifi connect tomeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 2, 2025
1 parent bd3e700 commit e52f27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ void StartWiFi() {
WiFi.begin(ssid.substring(0, ssid_length).c_str(),
pwd.substring(0, pwd_length).c_str());

if (WiFi.waitForConnectResult() != WL_CONNECTED) {
if (WiFi.waitForConnectResult(120000UL) != WL_CONNECTED) {
softAPFallback = true;
}
} else {
Expand Down

0 comments on commit e52f27f

Please sign in to comment.