From 8d4bca458b60364a6a9c6f1db271f07ac2be2003 Mon Sep 17 00:00:00 2001 From: Eric Duminil <eric.duminil@gmail.com> Date: Mon, 17 May 2021 00:00:10 +0200 Subject: [PATCH] VErsion name was too long --- ampel-firmware/web_config.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ampel-firmware/web_config.cpp b/ampel-firmware/web_config.cpp index af814ef..04e3d20 100644 --- a/ampel-firmware/web_config.cpp +++ b/ampel-firmware/web_config.cpp @@ -7,7 +7,6 @@ namespace config { //TODO: Is there any conflict with SPIFFS/LittleFS? //TODO: Actually use those parameters -//TODO: Make sure values are *really* set to defaults during first run. namespace web_config { #if defined(ESP8266) @@ -20,8 +19,10 @@ namespace web_config { IotWebConf *iotWebConf; -// -- Configuration specific key. The value should be modified if config structure was changed. - const char config_version[] = "ampel_test_v6"; + // -- Configuration specific key. The value should be modified if config structure was changed. + // Also shouldn't be longer than + + const char config_version[IOTWEBCONF_CONFIG_VERSION_LENGTH] = "a01"; /** * Services -- GitLab