From 1249368912cc1e4efaa416eee92a40beaaa83c7c Mon Sep 17 00:00:00 2001 From: Eric Duminil <eric.duminil@gmail.com> Date: Fri, 25 Feb 2022 16:20:13 +0100 Subject: [PATCH] Wifi? param visible again --- ampel-firmware/web_config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ampel-firmware/web_config.cpp b/ampel-firmware/web_config.cpp index 1516ec4..b67506b 100644 --- a/ampel-firmware/web_config.cpp +++ b/ampel-firmware/web_config.cpp @@ -169,7 +169,8 @@ namespace web_config { iotWebConf->setHtmlFormatProvider(&optionalGroupHtmlFormatProvider); iotWebConf->addSystemParameter(&elWifiParam); - ampelWifiParam.visible = false; // To avoid users getting locked out. In order to set WiFi on/off, console commands can be used. + // Somehow, making ampelWifi invisible set it to 0 :-/ + // ampelWifiParam.visible = false; // To avoid users getting locked out. In order to set WiFi on/off, console commands can be used. iotWebConf->addSystemParameter(&wifiTimeoutParam); iotWebConf->getThingNameParameter()->label = "Ampel name"; -- GitLab