mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 18:54:28 +05:00
fix: scan networks on s3 fixed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user