mirror of https://github.com/arendst/Tasmota.git
Add delay loop after WiFi.begin()
Add delay loop after WiFi.begin() solving some Frotz!Bix issues (#14986)
This commit is contained in:
parent
557c29b7bd
commit
a54774f247
|
@ -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..."),
|
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);
|
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
|
#if LWIP_IPV6
|
||||||
for (bool configured = false; !configured;) {
|
for (bool configured = false; !configured;) {
|
||||||
uint16_t cfgcnt = 0;
|
uint16_t cfgcnt = 0;
|
||||||
|
|
Loading…
Reference in New Issue