Add delay loop after WiFi.begin()

Add delay loop after WiFi.begin() solving some Frotz!Bix issues (#14986)
This commit is contained in:
Theo Arends 2022-02-27 18:21:13 +01:00
parent 557c29b7bd
commit a54774f247
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ void WifiBegin(uint8_t flag, uint8_t channel)
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI D_CONNECTING_TO_AP "%d %s%s " D_IN_MODE " 11%c " D_AS " %s..."),
Settings->sta_active +1, SettingsText(SET_STASSID1 + Settings->sta_active), stemp, pgm_read_byte(&kWifiPhyMode[WiFi.getPhyMode() & 0x3]), TasmotaGlobal.hostname);
WiFi.waitForConnectResult(1000);
#if LWIP_IPV6
for (bool configured = false; !configured;) {
uint16_t cfgcnt = 0;