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() {
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