Browse Source

Only increase EEPROM version for DELTA printers.

pull/1/head
Erik van der Zalm 11 years ago
parent
commit
fcd8524b6e
  1. 4
      Marlin/ConfigurationStore.cpp

4
Marlin/ConfigurationStore.cpp

@ -37,7 +37,11 @@ void _EEPROM_readData(int &pos, uint8_t* value, uint8_t size)
// the default values are used whenever there is a change to the data, to prevent // the default values are used whenever there is a change to the data, to prevent
// wrong data being written to the variables. // wrong data being written to the variables.
// ALSO: always make sure the variables in the Store and retrieve sections are in the same order. // ALSO: always make sure the variables in the Store and retrieve sections are in the same order.
#ifdef DELTA
#define EEPROM_VERSION "V11" #define EEPROM_VERSION "V11"
#else
#define EEPROM_VERSION "V10"
#endif
#ifdef EEPROM_SETTINGS #ifdef EEPROM_SETTINGS
void Config_StoreSettings() void Config_StoreSettings()

Loading…
Cancel
Save