fix for incorrect hardware timing

This commit is contained in:
Damian Schneider 2025-02-15 10:34:44 +01:00 committed by Will Tatam
parent 1bf13ea525
commit fa2f831044

View File

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