Enable contrast via LCD_CONTRAST_INIT (#15006)

This commit is contained in:
Tanguy Pruvot
2019-08-22 01:56:39 +02:00
committed by Scott Lahteine
parent 012f577bb0
commit e604f76703
7 changed files with 40 additions and 47 deletions

View File

@ -105,9 +105,7 @@
#define BTN_ENC 5
// This display has adjustable contrast
#undef HAS_LCD_CONTRAST
#define HAS_LCD_CONTRAST 1
#define LCD_CONTRAST_MIN 0
#define LCD_CONTRAST_MAX 255
#define DEFAULT_LCD_CONTRAST 255
#define LCD_CONTRAST_INIT LCD_CONTRAST_MAX
#endif