Board-based LCD delays

This commit is contained in:
Scott Lahteine
2019-11-09 22:33:25 -06:00
parent 6e0bcb80a2
commit 7010f92c4b
15 changed files with 67 additions and 120 deletions

View File

@@ -132,12 +132,8 @@
#define MOSI_PIN P1B5
#define SS_PIN PA15
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_NS(125)
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_NS(125)
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_NS(125)
#if HAS_GRAPHICAL_LCD
#define BOARD_ST7920_DELAY_1 DELAY_NS(125)
#define BOARD_ST7920_DELAY_2 DELAY_NS(125)
#define BOARD_ST7920_DELAY_3 DELAY_NS(125)
#endif