Merge pull request #978 from XPila/MK3-new_lang
EEPROM offset fixed - added dummy lcd_contrast
This commit is contained in:
commit
3b3d7ad24f
1 changed files with 7 additions and 2 deletions
|
@ -109,7 +109,10 @@ void Config_StoreSettings(uint16_t offset)
|
|||
EEPROM_WRITE_VAR(i, bedKi);
|
||||
EEPROM_WRITE_VAR(i, bedKd);
|
||||
#endif
|
||||
// EEPROM_WRITE_VAR(i,lcd_contrast);
|
||||
|
||||
int lcd_contrast = 0;
|
||||
EEPROM_WRITE_VAR(i,lcd_contrast);
|
||||
|
||||
#ifdef FWRETRACT
|
||||
EEPROM_WRITE_VAR(i,autoretract_enabled);
|
||||
EEPROM_WRITE_VAR(i,retract_length);
|
||||
|
@ -288,7 +291,9 @@ bool Config_RetrieveSettings(uint16_t offset)
|
|||
EEPROM_READ_VAR(i, bedKi);
|
||||
EEPROM_READ_VAR(i, bedKd);
|
||||
#endif
|
||||
// EEPROM_READ_VAR(i,lcd_contrast);
|
||||
|
||||
int lcd_contrast;
|
||||
EEPROM_READ_VAR(i,lcd_contrast);
|
||||
|
||||
#ifdef FWRETRACT
|
||||
EEPROM_READ_VAR(i,autoretract_enabled);
|
||||
|
|
Loading…
Reference in a new issue