mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Fix Some Wifi Connection Issues
https://github.com/arendst/Sonoff-Tasmota/issues/4044
This commit is contained in:
parent
f5eb2919bd
commit
dbe7cf3bbc
@ -1349,7 +1349,7 @@ void WifiBegin(uint8_t flag)
|
|||||||
AddLog_P(LOG_LEVEL_DEBUG, S_LOG_WIFI, PSTR(D_PATCH_ISSUE_2186));
|
AddLog_P(LOG_LEVEL_DEBUG, S_LOG_WIFI, PSTR(D_PATCH_ISSUE_2186));
|
||||||
WiFi.mode(WIFI_OFF); // See https://github.com/esp8266/Arduino/issues/2186
|
WiFi.mode(WIFI_OFF); // See https://github.com/esp8266/Arduino/issues/2186
|
||||||
#endif
|
#endif
|
||||||
|
WiFi.persistent(false); // Solve possible wifi init errors
|
||||||
WiFi.disconnect(true); // Delete SDK wifi config
|
WiFi.disconnect(true); // Delete SDK wifi config
|
||||||
delay(200);
|
delay(200);
|
||||||
WiFi.mode(WIFI_STA); // Disable AP mode
|
WiFi.mode(WIFI_STA); // Disable AP mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user