diff --git a/ampel-firmware/web_config.cpp b/ampel-firmware/web_config.cpp index af814efba4200d2700311264e9ef891bd757b479..04e3d20b03be6fac80c9446469d68f89cac0455b 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