Pre-override of ST7920 delays before HAL.h
This commit is contained in:
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…
Reference in New Issue
Block a user