This commit is contained in:
Blaz Kristan
2023-12-23 21:05:01 +01:00
parent 776502e6db
commit 08d9f7d967
7 changed files with 169 additions and 163 deletions

View File

@@ -699,7 +699,7 @@ void WLED::initConnection()
WiFi.disconnect(true); // close old connections
#ifdef ESP8266
WiFi.setPhyMode(WIFI_PHY_MODE_11N);
WiFi.setPhyMode(force802_3g ? WIFI_PHY_MODE_11G : WIFI_PHY_MODE_11N);
#endif
if (staticIP[0] != 0 && staticGateway[0] != 0) {