1
0
Fork 0
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:
Andrey Mironov 2018-09-09 13:36:25 +03:00
parent d6861b0842
commit 501f4a1345
6 changed files with 15 additions and 25 deletions

View file

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