Merge pull request #4558 from DedeHai/wifi_hardware_timing_fix

Bugfix for incorrect wifi-hardware timing
This commit is contained in:
netmindz 2025-02-16 10:33:52 +00:00 committed by GitHub
commit c3f6537a4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -760,6 +760,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