Skip to content

Commit

Permalink
Contrast over 63 assume 255 max
Browse files Browse the repository at this point in the history
This is closer to the prior behavior.
  • Loading branch information
thinkyhead committed Aug 25, 2019
1 parent 1461ee4 commit c7825e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7825e6

Please sign in to comment.