Fix BTT SKR Pro 1.0 UART4/5 (#18222)

This commit is contained in:
Alexander Amelkin 2020-06-08 11:04:52 +03:00 committed by GitHub
parent eda2fd8dbe
commit 8994cc8b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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); \