🩹 Fix ST7565 LCD contrast init (#24457)

This commit is contained in:
Christophe Huriaux
2022-07-06 22:43:38 +02:00
committed by Scott Lahteine
parent d3aed23e18
commit 03760fd79e
3 changed files with 15 additions and 4 deletions

View File

@@ -99,7 +99,7 @@
#define IS_ULTIPANEL 1
#define STD_ENCODER_PULSES_PER_STEP 2
#elif ANY(miniVIKI, VIKI2, WYH_L12864, ELB_FULL_GRAPHIC_CONTROLLER, AZSMZ_12864)
#elif ANY(miniVIKI, VIKI2, WYH_L12864, ELB_FULL_GRAPHIC_CONTROLLER, AZSMZ_12864, EMOTION_TECH_LCD)
#define DOGLCD
#define IS_DOGM_12864 1
@@ -116,6 +116,9 @@
#define IS_U8GLIB_LM6059_AF 1
#elif ENABLED(AZSMZ_12864)
#define IS_U8GLIB_ST7565_64128N 1
#elif ENABLED(EMOTION_TECH_LCD)
#define IS_U8GLIB_ST7565_64128N 1
#define ST7565_VOLTAGE_DIVIDER_VALUE 0x07
#endif
#elif ENABLED(OLED_PANEL_TINYBOY2)