diff --git a/firmware/controllers/flash_main.h b/firmware/controllers/flash_main.h index 7c560149e8..bc6e4ecc1b 100644 --- a/firmware/controllers/flash_main.h +++ b/firmware/controllers/flash_main.h @@ -10,8 +10,6 @@ #include "engine.h" -#define FLASH_DATA_VERSION 10001 - typedef enum { PC_OK = 0, CRC_FAILED = 1, diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 44c3358fa1..ca451a73b3 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -38,6 +38,12 @@ #define TS_FILE_VERSION 20200310 +! This is the version of the data stored in flash configuration +! Any time an incompatible change is made to the configuration format stored in flash, +! update this string to the current date! It is required to also update TS_SIGNATURE above +! when this happens. +#define FLASH_DATA_VERSION 10001 + ! all the sub-structures are going to be nested within the primary structure, that's ! needed to get a proper TunerStudio file