Browse Source

Contrast over 63 assume 255 max

This is closer to the prior behavior.
pull/1/head
Scott Lahteine 5 years ago
parent
commit
c7825e6719
  1. 2
      Marlin/src/inc/Conditionals_post.h

2
Marlin/src/inc/Conditionals_post.h

@ -293,7 +293,7 @@
#ifdef _LCD_CONTRAST_MAX
#define LCD_CONTRAST_MAX _LCD_CONTRAST_MAX
#elif _LCD_CONTRAST_INIT > 63
#define LCD_CONTRAST_MAX _LCD_CONTRAST_INIT
#define LCD_CONTRAST_MAX 255
#else
#define LCD_CONTRAST_MAX 63 // ST7567 6-bits contrast
#endif

Loading…
Cancel
Save