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
8b16d137
Commit
8b16d137
authored
Feb 17, 2022
by
Eric Duminil
Browse files
Removing double spaces
parent
7b50b54d
Pipeline
#5867
passed with stage
in 2 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_config.cpp
View file @
8b16d137
...
...
@@ -233,14 +233,14 @@ namespace web_config {
Serial
.
println
(
ssid
);
strncpy
(
iotWebConf
->
getWifiSsidParameter
()
->
valueBuffer
,
ssid
,
iotWebConf
->
getWifiSsidParameter
()
->
getLength
());
iotWebConf
->
saveConfig
();
},
F
(
"
name (Sets SSID to name)"
));
},
F
(
"name (Sets SSID to name)"
));
sensor_console
::
defineStringCommand
(
"pwd"
,
[](
char
*
ssid
)
{
Serial
.
print
(
F
(
"Setting WiFi password to "
));
Serial
.
println
(
ssid
);
strncpy
(
iotWebConf
->
getWifiPasswordParameter
()
->
valueBuffer
,
ssid
,
iotWebConf
->
getWifiPasswordParameter
()
->
getLength
());
iotWebConf
->
saveConfig
();
},
F
(
"
abc (Sets WiFi password to abc)"
));
},
F
(
"abc (Sets WiFi password to abc)"
));
sensor_console
::
defineIntCommand
(
"wifi"
,
[](
int32_t
onOff
)
{
config
::
is_wifi_on
=
onOff
;
...
...
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