No phy mode for ESP32

This commit is contained in:
cschwinne 2020-02-09 11:04:30 +01:00
parent 71a5cfed4b
commit 17e43a7ff2

View File

@ -152,7 +152,9 @@ void initAP(bool resetAP=false){
void initConnection()
{
WiFi.disconnect(); //close old connections
#ifdef ESP8266
WiFi.setPhyMode(WIFI_PHY_MODE_11N);
#endif
if (staticIP[0] != 0 && staticGateway[0] != 0)
{