mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
More strict application of USE_UART and USE_INVERTER
This commit is contained in:
parent
66657486e1
commit
00dab4288f
15 changed files with 38 additions and 18 deletions
|
@ -27,10 +27,6 @@
|
|||
// Various serial routines return the buffer occupied size as uint8_t which would need to be extended in order to
|
||||
// increase size further.
|
||||
|
||||
#if defined(USE_UART1) || defined(USE_UART2) || defined(USE_UART3) || defined(USE_UART4) || defined(USE_UART5) || defined(USE_UART6) || defined(USE_UART7) || defined(USE_UART8)
|
||||
#define USE_UART
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
UARTDEV_1 = 0,
|
||||
UARTDEV_2 = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue