Browse Source

Base HAS_LCD_CONTRAST on display type

pull/1/head
Scott Lahteine 5 years ago
parent
commit
dfcd437486
  1. 9
      Marlin/src/inc/Conditionals_LCD.h

9
Marlin/src/inc/Conditionals_LCD.h

@ -384,7 +384,14 @@
/**
* 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
#ifndef LCD_CONTRAST_MIN
#define LCD_CONTRAST_MIN 0

Loading…
Cancel
Save