Preserve brightness in EEPROM validate (#19485)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2.0.x
ellensp 4 years ago committed by Scott Lahteine
parent 8b69d697dd
commit cbaba010f2

@ -1804,10 +1804,11 @@ void MarlinSettings::postprocess() {
//
{
_FIELD_TEST(lcd_contrast);
int16_t lcd_contrast;
EEPROM_READ(lcd_contrast);
TERN_(HAS_LCD_CONTRAST, ui.set_contrast(lcd_contrast));
if (!validating) {
TERN_(HAS_LCD_CONTRAST, ui.set_contrast(lcd_contrast));
}
}
//

Loading…
Cancel
Save