defines moved to eeprom.h

This commit is contained in:
PavelSindler 2018-09-19 15:10:10 +02:00
parent 752aec37fb
commit 0a5394a20e
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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