Browse Source

defines moved to eeprom.h

PavelSindler 6 years ago
parent
commit
0a5394a20e
2 changed files with 1 additions and 3 deletions
  1. 0 2
      Firmware/ConfigurationStore.cpp
  2. 1 1
      Firmware/eeprom.h

+ 0 - 2
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

+ 1 - 1
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