diff --git a/code/espurna/wifi.ino b/code/espurna/wifi.ino index 26e3e3cd..f6f13c6f 100644 --- a/code/espurna/wifi.ino +++ b/code/espurna/wifi.ino @@ -302,6 +302,7 @@ void _wifiInitCommands() { void _wifiWebSocketOnSend(JsonObject& root) { root["maxNetworks"] = WIFI_MAX_NETWORKS; + root["wifiScan"] = getSetting("wifiScan", WIFI_SCAN_NETWORKS).toInt() == 1; JsonArray& wifi = root.createNestedArray("wifi"); for (byte i=0; i