Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
12493689
Commit
12493689
authored
Feb 25, 2022
by
Eric Duminil
Browse files
Wifi? param visible again
parent
86f353e8
Pipeline
#5959
passed with stage
in 2 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_config.cpp
View file @
12493689
...
...
@@ -169,7 +169,8 @@ namespace web_config {
iotWebConf
->
setHtmlFormatProvider
(
&
optionalGroupHtmlFormatProvider
);
iotWebConf
->
addSystemParameter
(
&
ampelWifiParam
);
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"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment