fix: scan networks on s3 fixed

This commit is contained in:
Yurii
2024-04-15 02:47:42 +03:00
parent f069de0415
commit 73dddd18f0
2 changed files with 6 additions and 2 deletions

View File

@@ -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);