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
24ae465c
Commit
24ae465c
authored
Feb 13, 2022
by
Eric Duminil
Browse files
Really reset every config
parent
5c8fce95
Pipeline
#5808
passed with stage
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_config.cpp
View file @
24ae465c
...
...
@@ -228,7 +228,7 @@ namespace web_config {
sensor_console
::
defineCommand
(
"reset_config"
,
[]()
{
Serial
.
println
(
F
(
"Resetting config..."
));
iotWebConf
->
get
System
ParameterGroup
()
->
applyDefaultValue
();
iotWebConf
->
get
Root
ParameterGroup
()
->
applyDefaultValue
();
iotWebConf
->
saveConfig
();
Serial
.
println
(
F
(
"Done!"
));
},
F
(
"(resets the complete IotWeb config)"
));
...
...
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