Update support_wifi.ino

Correct inifinite loop as timeout would never trigger
This commit is contained in:
Theo Arends 2021-01-20 10:44:10 +01:00 committed by GitHub
parent 6ab6708c34
commit be74a768fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -228,9 +228,9 @@ void WifiBegin(uint8_t flag, uint8_t channel)
AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI "Got IPv6 global address %s"), addr.toString().c_str());
break; // IPv6 is mandatory but stop after 15 seconds
}
delay(500); // Loop until real IPv6 address is aquired or too many tries failed
cfgcnt++;
}
delay(500); // Loop until real IPv6 address is aquired or too many tries failed
cfgcnt++;
}
#endif // LWIP_IPV6=1
}