Commit 7ecb7c43 authored by Simone's avatar Simone

Update ConfigurationStore.cpp

parent ba8f964e
...@@ -101,7 +101,7 @@ void Config_StoreSettings() { ...@@ -101,7 +101,7 @@ void Config_StoreSettings() {
EEPROM_WRITE_VAR(i, Kd); EEPROM_WRITE_VAR(i, Kd);
#endif //PIDTEMP #endif //PIDTEMP
#ifndef DOGLCD #if !defined(DOGLCD) || LCD_CONTRAST < 0
int lcd_contrast = 32; int lcd_contrast = 32;
#endif #endif
EEPROM_WRITE_VAR(i, lcd_contrast); EEPROM_WRITE_VAR(i, lcd_contrast);
...@@ -210,7 +210,7 @@ void Config_RetrieveSettings() ...@@ -210,7 +210,7 @@ void Config_RetrieveSettings()
EEPROM_READ_VAR(i,Kd); EEPROM_READ_VAR(i,Kd);
#endif // PIDTEMP #endif // PIDTEMP
#ifndef DOGLCD #if !defined(DOGLCD) || LCD_CONTRAST < 0
int lcd_contrast; int lcd_contrast;
#endif //DOGLCD #endif //DOGLCD
...@@ -346,7 +346,7 @@ void Config_ResetDefault() ...@@ -346,7 +346,7 @@ void Config_ResetDefault()
gumPreheatFanSpeed = GUM_PREHEAT_FAN_SPEED; gumPreheatFanSpeed = GUM_PREHEAT_FAN_SPEED;
#endif #endif
#ifdef DOGLCD #if defined(DOGLCD) && LCD_CONTRAST >= 0
lcd_contrast = DEFAULT_LCD_CONTRAST; lcd_contrast = DEFAULT_LCD_CONTRAST;
#endif //DOGLCD #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