Enable contrast via LCD_CONTRAST_INIT (#15006)

This commit is contained in:
Tanguy Pruvot authored and Scott Lahteine committed 2019-08-21 18:56:39 -05:00
1 parent 012f577bb0
commit e604f76703
7 files changed
+40 -47

No files matched your search

+3 -1
View File
@@ -828,8 +828,10 @@ void MarlinSettings::postprocess() {
const int16_t lcd_contrast =
#if HAS_LCD_CONTRAST
ui.contrast
#elif defined(DEFAULT_LCD_CONTRAST)
DEFAULT_LCD_CONTRAST
#else
32
127
#endif
;
EEPROM_WRITE(lcd_contrast);