From 776a098a724f941001a1c7ec8239122a3a508818 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Thu, 19 Aug 2021 20:17:48 +0100 Subject: [PATCH] Bump EESTORE_ID version. TurnoutData struct size has been reduced by one byte during rewrite of Turnout class. Consequently, this renders any previous turnout definitions in EEPROM incompatible with the new format. For safety, the version is increased so that incompatible EEPROM contents are discarded. --- EEStore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EEStore.h b/EEStore.h index 247e30a..8fc98bd 100644 --- a/EEStore.h +++ b/EEStore.h @@ -29,7 +29,7 @@ extern ExternalEEPROM EEPROM; #include #endif -#define EESTORE_ID "DCC++0" +#define EESTORE_ID "DCC++1" struct EEStoreData{ char id[sizeof(EESTORE_ID)];