Commit 7ecb7c43 authored by Simone's avatar Simone

Update ConfigurationStore.cpp

parent ba8f964e
......@@ -101,7 +101,7 @@ void Config_StoreSettings() {
EEPROM_WRITE_VAR(i, Kd);
#endif //PIDTEMP
#ifndef DOGLCD
#if !defined(DOGLCD) || LCD_CONTRAST < 0
int lcd_contrast = 32;
#endif
EEPROM_WRITE_VAR(i, lcd_contrast);
......@@ -210,7 +210,7 @@ void Config_RetrieveSettings()
EEPROM_READ_VAR(i,Kd);
#endif // PIDTEMP
#ifndef DOGLCD
#if !defined(DOGLCD) || LCD_CONTRAST < 0
int lcd_contrast;
#endif //DOGLCD
......@@ -346,7 +346,7 @@ void Config_ResetDefault()
gumPreheatFanSpeed = GUM_PREHEAT_FAN_SPEED;
#endif
#ifdef DOGLCD
#if defined(DOGLCD) && LCD_CONTRAST >= 0
lcd_contrast = DEFAULT_LCD_CONTRAST;
#endif //DOGLCD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment