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