Commit 0842d004 authored by MagoKimbra's avatar MagoKimbra

Merge pull request #10 from simone97/patch-5

Update ConfigurationStore.cpp
parents c8c8eb3e 7ecb7c43
...@@ -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