Browse Source

Fix FYSETC mini 12864 init / glitches (#17209)

George Fu 4 years ago
parent
commit
71db5c1605
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp

+ 1
- 1
Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp View File

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

Loading…
Cancel
Save