Browse Source

Fix FYSETC mini 12864 init / glitches (#17209)

vanilla_fb_2.0.x
George Fu 5 years ago
committed by GitHub
parent
commit
71db5c1605
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp

2
Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp

@ -118,7 +118,7 @@ static const uint8_t u8g_dev_uc1701_mini12864_HAL_init_seq[] PROGMEM = {
static const uint8_t u8g_dev_uc1701_mini12864_HAL_data_start[] PROGMEM = { static const uint8_t u8g_dev_uc1701_mini12864_HAL_data_start[] PROGMEM = {
U8G_ESC_ADR(0), // instruction mode U8G_ESC_ADR(0), // instruction mode
U8G_ESC_CS(1), // enable chip U8G_ESC_CS(1), // enable chip
#if EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY) #if ANY(MKS_MINI_12864, ENDER2_STOCKDISPLAY, FYSETC_MINI_12864)
UC1701_START_LINE(0), // set display start line to 0 UC1701_START_LINE(0), // set display start line to 0
UC1701_ADC_REVERSE(0), // ADC set to reverse UC1701_ADC_REVERSE(0), // ADC set to reverse
UC1701_OUT_MODE(1), // common output mode UC1701_OUT_MODE(1), // common output mode

Loading…
Cancel
Save