mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
Positive conditions for HAS_LCD_CONTRAST
This commit is contained in:
parent
efa7209acf
commit
5390c846a5
@ -249,7 +249,14 @@
|
|||||||
* Default LCD contrast for dogm-like LCD displays
|
* Default LCD contrast for dogm-like LCD displays
|
||||||
*/
|
*/
|
||||||
#if ENABLED(DOGLCD)
|
#if ENABLED(DOGLCD)
|
||||||
#define HAS_LCD_CONTRAST (DISABLED(U8GLIB_ST7920) && DISABLED(U8GLIB_SSD1306) && DISABLED(U8GLIB_SH1106))
|
|
||||||
|
#define HAS_LCD_CONTRAST ( \
|
||||||
|
ENABLED(MAKRPANEL) \
|
||||||
|
|| ENABLED(VIKI2) \
|
||||||
|
|| 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