fix for incorrect hardware timing

This commit is contained in:
Damian Schneider 2025-02-15 10:34:44 +01:00
parent a0c55c6406
commit b34d65fce0

View File

@ -760,6 +760,7 @@ void WLED::initConnection()
#endif #endif
WiFi.disconnect(true); // close old connections WiFi.disconnect(true); // close old connections
delay(5); // wait for hardware to be ready
#ifdef ESP8266 #ifdef ESP8266
WiFi.setPhyMode(force802_3g ? WIFI_PHY_MODE_11G : WIFI_PHY_MODE_11N); WiFi.setPhyMode(force802_3g ? WIFI_PHY_MODE_11G : WIFI_PHY_MODE_11N);
#endif #endif