Contrast over 63 assume 255 max
This is closer to the prior behavior.
This commit is contained in:
parent
1461ee4d36
commit
c7825e6719
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@
|
||||||
#ifdef _LCD_CONTRAST_MAX
|
#ifdef _LCD_CONTRAST_MAX
|
||||||
#define LCD_CONTRAST_MAX _LCD_CONTRAST_MAX
|
#define LCD_CONTRAST_MAX _LCD_CONTRAST_MAX
|
||||||
#elif _LCD_CONTRAST_INIT > 63
|
#elif _LCD_CONTRAST_INIT > 63
|
||||||
#define LCD_CONTRAST_MAX _LCD_CONTRAST_INIT
|
#define LCD_CONTRAST_MAX 255
|
||||||
#else
|
#else
|
||||||
#define LCD_CONTRAST_MAX 63 // ST7567 6-bits contrast
|
#define LCD_CONTRAST_MAX 63 // ST7567 6-bits contrast
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue