Skip to content

Commit c3f6537

Browse files
authored
Merge pull request #4558 from DedeHai/wifi_hardware_timing_fix
Bugfix for incorrect wifi-hardware timing
2 parents 70a3dc9 + b34d65f commit c3f6537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wled00/wled.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ void WLED::initConnection()
760760
#endif
761761

762762
WiFi.disconnect(true); // close old connections
763+
delay(5); // wait for hardware to be ready
763764
#ifdef ESP8266
764765
WiFi.setPhyMode(force802_3g ? WIFI_PHY_MODE_11G : WIFI_PHY_MODE_11N);
765766
#endif

0 commit comments

Comments
 (0)