From 0a5394a20e10e2b85ab6d961b6944c4992d6c462 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Wed, 19 Sep 2018 15:10:10 +0200 Subject: [PATCH] defines moved to eeprom.h --- Firmware/ConfigurationStore.cpp | 2 -- Firmware/eeprom.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Firmware/ConfigurationStore.cpp b/Firmware/ConfigurationStore.cpp index 4984c152..e0f887fe 100644 --- a/Firmware/ConfigurationStore.cpp +++ b/Firmware/ConfigurationStore.cpp @@ -56,8 +56,6 @@ void _EEPROM_readData(int &pos, uint8_t* value, uint8_t size, char* name) } //====================================================================================== -#define EEPROM_OFFSET 20 -#define EEPROM_M500_SIZE 188 //bytes // IMPORTANT: Whenever there are changes made to the variables stored in EEPROM // in the functions below, also increment the version number and update EEPROM_M500_SIZE. This makes sure that // the default values are used whenever there is a change to the data, to prevent diff --git a/Firmware/eeprom.h b/Firmware/eeprom.h index 54a21648..36272e65 100644 --- a/Firmware/eeprom.h +++ b/Firmware/eeprom.h @@ -183,6 +183,6 @@ #define EEPROM_FIRMWARE_PRUSA_MAGIC 0 #define EEPROM_OFFSET 20 //offset for storing settings using M500 -//#define EEPROM_OFFSET +#define EEPROM_M500_SIZE 188 //size of M500 eeprom section in bytes #endif // EEPROM_H