Browse Source

Pre-override of ST7920 delays before HAL.h

pull/1/head
Scott Lahteine 6 years ago
parent
commit
15d68cb496
  1. 12
      Marlin/src/HAL/HAL_LPC1768/HAL.h

12
Marlin/src/HAL/HAL_LPC1768/HAL.h

@ -68,9 +68,15 @@ extern "C" volatile uint32_t _millis;
#include "HAL_timers.h"
#include "HardwareSerial.h"
#define ST7920_DELAY_1 DELAY_NS(600)
#define ST7920_DELAY_2 DELAY_NS(750)
#define ST7920_DELAY_3 DELAY_NS(750)
#ifndef ST7920_DELAY_1
#define ST7920_DELAY_1 DELAY_NS(600)
#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;

Loading…
Cancel
Save