mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Removed redundant preprocessor defs for UART AF
This commit is contained in:
parent
d6861b0842
commit
501f4a1345
6 changed files with 15 additions and 25 deletions
|
@ -162,12 +162,8 @@ extern const uartHardware_t uartHardware[];
|
|||
typedef struct uartDevice_s {
|
||||
uartPort_t port;
|
||||
const uartHardware_t *hardware;
|
||||
ioTag_t rx;
|
||||
ioTag_t tx;
|
||||
#if defined(STM32F7)
|
||||
uint8_t rxAF;
|
||||
uint8_t txAF;
|
||||
#endif
|
||||
uartPinDef_t rx;
|
||||
uartPinDef_t tx;
|
||||
volatile uint8_t rxBuffer[UART_RX_BUFFER_SIZE];
|
||||
volatile uint8_t txBuffer[UART_TX_BUFFER_SIZE];
|
||||
} uartDevice_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue