mirror of
https://github.com/wled/WLED.git
synced 2025-07-16 15:26:31 +00:00
fix for incorrect hardware timing
This commit is contained in:
parent
a0c55c6406
commit
b34d65fce0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user