Skip to content

Commit

Permalink
Merge pull request #4558 from DedeHai/wifi_hardware_timing_fix
Browse files Browse the repository at this point in the history
Bugfix for incorrect wifi-hardware timing
  • Loading branch information
netmindz authored Feb 16, 2025
2 parents 70a3dc9 + b34d65f commit c3f6537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wled00/wled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3f6537

Please sign in to comment.