Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Really reset every config
parent
5c8fce95
master
develop
experimental/example_for_iotwebconf
senseair_s8
v0.3.0
archive/experimental/save_lora_session
Pipeline
#5808
passed with stage
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/web_config.cpp
+1
-1
ampel-firmware/web_config.cpp
with
1 addition
and
1 deletion
+1
-1
ampel-firmware/web_config.cpp
+
1
-
1
View file @
24ae465c
...
@@ -228,7 +228,7 @@ namespace web_config {
...
@@ -228,7 +228,7 @@ namespace web_config {
sensor_console
::
defineCommand
(
"reset_config"
,
[]()
{
sensor_console
::
defineCommand
(
"reset_config"
,
[]()
{
Serial
.
println
(
F
(
"Resetting config..."
));
Serial
.
println
(
F
(
"Resetting config..."
));
iotWebConf
->
get
System
ParameterGroup
()
->
applyDefaultValue
();
iotWebConf
->
get
Root
ParameterGroup
()
->
applyDefaultValue
();
iotWebConf
->
saveConfig
();
iotWebConf
->
saveConfig
();
Serial
.
println
(
F
(
"Done!"
));
Serial
.
println
(
F
(
"Done!"
));
},
F
(
"(resets the complete IotWeb config)"
));
},
F
(
"(resets the complete IotWeb config)"
));
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets