From ad7f4bea12ebaf967b0348c8ae7bafa716cef0be Mon Sep 17 00:00:00 2001
From: Eric Duminil <eric.duminil@gmail.com>
Date: Mon, 17 May 2021 11:16:46 +0200
Subject: [PATCH] Rename group

---
 ampel-firmware/web_config.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ampel-firmware/web_config.cpp b/ampel-firmware/web_config.cpp
index 79b82a5..77bcc4d 100644
--- a/ampel-firmware/web_config.cpp
+++ b/ampel-firmware/web_config.cpp
@@ -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>>(
-- 
GitLab