mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +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);
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
</hgroup>
|
||||
|
||||
<form action="/api/network/scan" id="network-scan">
|
||||
<figure style="max-height: 25em;">
|
||||
<div style="max-height: 25rem;" class="overflow-auto">
|
||||
<table id="networks" role="grid">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -87,7 +87,7 @@
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<button type="submit">Refresh</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user