LCD_CONTRAST to uint16_t for 1.1.x parity (#9148)

This commit is contained in:
Bob-the-Kuhn 2018-01-11 18:32:41 -06:00 committed by Scott Lahteine
parent 59d48b9b1f
commit 4393c3ef7f
4 changed files with 7 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
@ -618,7 +618,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);
@ -1159,7 +1159,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);