From 408f110afaa932b4dbbe937350f682ef045238a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 15 Jan 2018 01:37:22 +0100 Subject: [PATCH] Send current wifiScan configuration to web UI --- code/espurna/wifi.ino | 1 + 1 file changed, 1 insertion(+) 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