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
ad7f4bea
Commit
ad7f4bea
authored
May 17, 2021
by
Eric Duminil
Browse files
Rename group
parent
3e185a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_config.cpp
View file @
ad7f4bea
...
...
@@ -60,7 +60,7 @@ namespace web_config {
/**
* CSV
*/
iotwebconf
::
OptionalParameterGroup
csvParams
=
iotwebconf
::
OptionalParameterGroup
(
"
csvs
"
,
"CSV"
,
true
);
iotwebconf
::
OptionalParameterGroup
csvParams
=
iotwebconf
::
OptionalParameterGroup
(
"
CSV
"
,
"CSV"
,
true
);
iotwebconf
::
IntTParameter
<
uint16_t
>
csvTimestepParam
=
iotwebconf
::
Builder
<
iotwebconf
::
IntTParameter
<
uint16_t
>>
(
"csv_timestep"
).
label
(
"CSV timestep"
).
defaultValue
(
CSV_INTERVAL
).
min
(
0
).
step
(
1
).
build
();
...
...
@@ -68,7 +68,7 @@ namespace web_config {
/**
* MQTT
*/
iotwebconf
::
OptionalParameterGroup
mqttParams
=
iotwebconf
::
OptionalParameterGroup
(
"
mqtts
"
,
"MQTT"
,
true
);
iotwebconf
::
OptionalParameterGroup
mqttParams
=
iotwebconf
::
OptionalParameterGroup
(
"
MQTT
"
,
"MQTT"
,
true
);
iotwebconf
::
IntTParameter
<
uint16_t
>
mqttTimestepParam
=
iotwebconf
::
Builder
<
iotwebconf
::
IntTParameter
<
uint16_t
>>
(
"mqtt_timestep"
).
label
(
"MQTT timestep"
).
defaultValue
(
...
...
@@ -95,7 +95,7 @@ namespace web_config {
* NTP Time
*/
iotwebconf
::
ParameterGroup
timeParams
=
iotwebconf
::
ParameterGroup
(
"
ntp
"
,
"Time server"
);
iotwebconf
::
ParameterGroup
timeParams
=
iotwebconf
::
ParameterGroup
(
"
NTP
"
,
"Time server"
);
iotwebconf
::
TextTParameter
<
STRING_LEN
>
ntpParam
=
iotwebconf
::
Builder
<
iotwebconf
::
TextTParameter
<
STRING_LEN
>>
(
"ntp_server"
).
label
(
"NTP Server"
).
defaultValue
(
NTP_SERVER
).
build
();
iotwebconf
::
IntTParameter
<
int16_t
>
timeOffsetParam
=
iotwebconf
::
Builder
<
iotwebconf
::
IntTParameter
<
int16_t
>>
(
...
...
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