Skip to content
Snippets Groups Projects
Commit dfcd4374 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Base HAS_LCD_CONTRAST on display type

parent 3f678b0b
Branches
Tags
No related merge requests found
...@@ -384,7 +384,14 @@ ...@@ -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
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment