Better ST7920 timings for FYSETC S6 (#16022)
This commit is contained in:
parent
e0df35e6b5
commit
ce9a4afe95
1 changed files with 9 additions and 5 deletions
|
@ -95,7 +95,6 @@
|
||||||
#if HAS_TMC220x
|
#if HAS_TMC220x
|
||||||
/**
|
/**
|
||||||
* TMC2208/TMC2209 stepper drivers
|
* TMC2208/TMC2209 stepper drivers
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -214,9 +213,15 @@
|
||||||
|
|
||||||
// Alter timing for graphical display
|
// Alter timing for graphical display
|
||||||
#if HAS_GRAPHICAL_LCD
|
#if HAS_GRAPHICAL_LCD
|
||||||
#define BOARD_ST7920_DELAY_1 DELAY_NS(96)
|
#ifndef BOARD_ST7920_DELAY_1
|
||||||
#define BOARD_ST7920_DELAY_2 DELAY_NS(48)
|
#define BOARD_ST7920_DELAY_1 DELAY_NS(103)
|
||||||
#define BOARD_ST7920_DELAY_3 DELAY_NS(600)
|
#endif
|
||||||
|
#ifndef BOARD_ST7920_DELAY_2
|
||||||
|
#define BOARD_ST7920_DELAY_2 DELAY_NS(51)
|
||||||
|
#endif
|
||||||
|
#ifndef BOARD_ST7920_DELAY_3
|
||||||
|
#define BOARD_ST7920_DELAY_3 DELAY_NS(642)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RGB_LED_R_PIN
|
#ifndef RGB_LED_R_PIN
|
||||||
|
@ -231,4 +236,3 @@
|
||||||
#ifndef RGB_LED_W_PIN
|
#ifndef RGB_LED_W_PIN
|
||||||
#define RGB_LED_W_PIN -1
|
#define RGB_LED_W_PIN -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Reference in a new issue