Merge branch 'pr605' into dev
This commit is contained in:
commit
c61064c891
@ -121,6 +121,8 @@ void NetworkSettingsClass::setupMode()
|
||||
dnsServer->stop();
|
||||
dnsServerStatus = false;
|
||||
if (_networkMode == network_mode::WiFi) {
|
||||
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
|
||||
WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
|
||||
WiFi.mode(WIFI_STA);
|
||||
} else {
|
||||
WiFi.mode(WIFI_MODE_NULL);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user