More robust HAS_LCD_CONTRAST

This commit is contained in:
Scott Lahteine 2019-04-18 20:59:56 -05:00
parent 2e3d121ac4
commit 0a6835fbea

View file

@ -325,7 +325,7 @@
/** /**
* 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 (HAS_GRAPHICAL_LCD && defined(DEFAULT_LCD_CONTRAST))
#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