Base HAS_LCD_CONTRAST on display type
This commit is contained in:
parent
3f678b0be5
commit
dfcd437486
@ -384,7 +384,14 @@
|
|||||||
/**
|
/**
|
||||||
* Default LCD contrast for Graphical LCD displays
|
* Default LCD contrast for Graphical LCD displays
|
||||||
*/
|
*/
|
||||||
#define HAS_LCD_CONTRAST (HAS_GRAPHICAL_LCD && defined(DEFAULT_LCD_CONTRAST))
|
#define HAS_LCD_CONTRAST ( \
|
||||||
|
ENABLED(MAKRPANEL) \
|
||||||
|
|| ENABLED(CARTESIO_UI) \
|
||||||
|
|| ENABLED(VIKI2) \
|
||||||
|
|| ENABLED(AZSMZ_12864) \
|
||||||
|
|| ENABLED(miniVIKI) \
|
||||||
|
|| ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
|
||||||
|
)
|
||||||
#if HAS_LCD_CONTRAST
|
#if HAS_LCD_CONTRAST
|
||||||
#ifndef LCD_CONTRAST_MIN
|
#ifndef LCD_CONTRAST_MIN
|
||||||
#define LCD_CONTRAST_MIN 0
|
#define LCD_CONTRAST_MIN 0
|
||||||
|
Loading…
Reference in New Issue
Block a user