Fix BTT SKR Pro 1.0 UART4/5 (#18222)
This commit is contained in:
parent
eda2fd8dbe
commit
8994cc8b26
1 changed files with 8 additions and 0 deletions
|
@ -26,6 +26,14 @@
|
||||||
#include "../../feature/e_parser.h"
|
#include "../../feature/e_parser.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef USART4
|
||||||
|
#define USART4 UART4
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USART5
|
||||||
|
#define USART5 UART5
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DECLARE_SERIAL_PORT(ser_num) \
|
#define DECLARE_SERIAL_PORT(ser_num) \
|
||||||
void _rx_complete_irq_ ## ser_num (serial_t * obj); \
|
void _rx_complete_irq_ ## ser_num (serial_t * obj); \
|
||||||
MarlinSerial MSerial ## ser_num (USART ## ser_num, &_rx_complete_irq_ ## ser_num); \
|
MarlinSerial MSerial ## ser_num (USART ## ser_num, &_rx_complete_irq_ ## ser_num); \
|
||||||
|
|
Reference in a new issue