Browse Source

Better ST7920 timings for FYSETC S6 (#16022)

Jason Smith 5 years ago
parent
commit
ce9a4afe95
1 changed files with 9 additions and 5 deletions
  1. 9
    5
      Marlin/src/pins/stm32/pins_FYSETC_S6.h

+ 9
- 5
Marlin/src/pins/stm32/pins_FYSETC_S6.h View File

@@ -95,7 +95,6 @@
95 95
 #if HAS_TMC220x
96 96
   /**
97 97
    * TMC2208/TMC2209 stepper drivers
98
-   *
99 98
    */
100 99
 
101 100
   //
@@ -214,9 +213,15 @@
214 213
 
215 214
 // Alter timing for graphical display
216 215
 #if HAS_GRAPHICAL_LCD
217
-  #define BOARD_ST7920_DELAY_1 DELAY_NS(96)
218
-  #define BOARD_ST7920_DELAY_2 DELAY_NS(48)
219
-  #define BOARD_ST7920_DELAY_3 DELAY_NS(600)
216
+  #ifndef BOARD_ST7920_DELAY_1
217
+    #define BOARD_ST7920_DELAY_1 DELAY_NS(103)
218
+  #endif
219
+  #ifndef BOARD_ST7920_DELAY_2
220
+    #define BOARD_ST7920_DELAY_2 DELAY_NS(51)
221
+  #endif
222
+  #ifndef BOARD_ST7920_DELAY_3
223
+    #define BOARD_ST7920_DELAY_3 DELAY_NS(642)
224
+  #endif
220 225
 #endif
221 226
 
222 227
 #ifndef RGB_LED_R_PIN
@@ -231,4 +236,3 @@
231 236
 #ifndef RGB_LED_W_PIN
232 237
   #define RGB_LED_W_PIN    -1
233 238
 #endif
234
-

Loading…
Cancel
Save