diff --git a/src/PortalTask.h b/src/PortalTask.h index a7d6618..ed23039 100644 --- a/src/PortalTask.h +++ b/src/PortalTask.h @@ -344,7 +344,11 @@ protected: auto apCount = WiFi.scanComplete(); if (apCount <= 0) { if (apCount != WIFI_SCAN_RUNNING) { + #ifdef ARDUINO_ARCH_ESP8266 WiFi.scanNetworks(true, true); + #else + WiFi.scanNetworks(true, true, true); + #endif } this->webServer->send(404); diff --git a/src_data/network.html b/src_data/network.html index f654553..8ca226d 100644 --- a/src_data/network.html +++ b/src_data/network.html @@ -76,7 +76,7 @@