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

@@ -153,14 +153,10 @@
//#define LCD_UART_RX PD9
#endif
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_NS(96)
#endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_NS(48)
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_NS(715)
#if HAS_GRAPHICAL_LCD
#define BOARD_ST7920_DELAY_1 DELAY_NS(96)
#define BOARD_ST7920_DELAY_2 DELAY_NS(48)
#define BOARD_ST7920_DELAY_3 DELAY_NS(715)
#endif
#endif // HAS_SPI_LCD