LCD contrast type mismatch is back

WORKS!
This commit is contained in:
Bob-the-Kuhn
2018-01-09 23:41:14 -06:00
parent e654ea1e1a
commit e633ce06c7
5 changed files with 17 additions and 7 deletions

View File

@ -189,7 +189,7 @@ typedef struct SettingsDataStruct {
//
// HAS_LCD_CONTRAST
//
uint16_t lcd_contrast; // M250 C
int16_t lcd_contrast; // M250 C
//
// FWRETRACT
@ -596,7 +596,7 @@ void MarlinSettings::postprocess() {
_FIELD_TEST(lcd_contrast);
#if !HAS_LCD_CONTRAST
const uint16_t lcd_contrast = 32;
const int16_t lcd_contrast = 32;
#endif
EEPROM_WRITE(lcd_contrast);
@ -1143,7 +1143,7 @@ void MarlinSettings::postprocess() {
_FIELD_TEST(lcd_contrast);
#if !HAS_LCD_CONTRAST
uint16_t lcd_contrast;
int16_t lcd_contrast;
#endif
EEPROM_READ(lcd_contrast);