Easier override of ST7920 LCD timing

This commit is contained in:
Scott Lahteine
2018-03-17 02:37:14 -05:00
parent c294613b53
commit 7cf2788cc3
5 changed files with 45 additions and 15 deletions

View File

@@ -54,9 +54,15 @@
#define FIL_RUNOUT_PIN -1 // Uses Beeper/LED Pin Pulled to GND
// Alter timing for graphical display
#define ST7920_DELAY_1 DELAY_2_NOP
#define ST7920_DELAY_2 DELAY_2_NOP
#define ST7920_DELAY_3 DELAY_2_NOP
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_2_NOP
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_2_NOP
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_2_NOP
#endif
#if ENABLED(MINIPANEL)
#undef DOGLCD_CS