Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid authored Apr 19, 2024
1 parent 3e964aa commit f31536d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cores/beken-72xx/arduino/libraries/WiFi/WiFiEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ static String waitForValidSSID(WiFiClass *pWiFi) {
result = pWiFi->SSID();

if (!result.length()) {
for (std::size_t i = 0; i < 10; i++) {
std::size_t i = 0;
for (; i < 10; i++) {
// Delay and query again.
delay(1);
result = pWiFi->SSID();
Expand Down

0 comments on commit f31536d

Please sign in to comment.