Pre-override of ST7920 delays before HAL.h

2.0.x
Scott Lahteine 6 years ago
parent 8a24ff94d1
commit 15d68cb496

@ -68,9 +68,15 @@ extern "C" volatile uint32_t _millis;
#include "HAL_timers.h" #include "HAL_timers.h"
#include "HardwareSerial.h" #include "HardwareSerial.h"
#define ST7920_DELAY_1 DELAY_NS(600) #ifndef ST7920_DELAY_1
#define ST7920_DELAY_2 DELAY_NS(750) #define ST7920_DELAY_1 DELAY_NS(600)
#define ST7920_DELAY_3 DELAY_NS(750) #endif
#ifndef ST7920_DELAY_2
#define ST7920_DELAY_2 DELAY_NS(750)
#endif
#ifndef ST7920_DELAY_3
#define ST7920_DELAY_3 DELAY_NS(750)
#endif
extern HalSerial usb_serial; extern HalSerial usb_serial;

Loading…
Cancel
Save