1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Tri-state USART TX output if load due to powered down peripheral is detected (#12760)

Tri-state USART TX output if loaded due to powered down peripheral being detected
This commit is contained in:
Steve Evans 2023-05-10 02:53:35 +01:00 committed by GitHub
parent cbaf9b0265
commit 4dc04d6a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 239 additions and 28 deletions

View file

@ -76,6 +76,8 @@ typedef struct uartPort_s {
#endif
USART_TypeDef *USARTx;
bool txDMAEmpty;
bool (* checkUsartTxOutput)(struct uartPort_s *s);
} uartPort_t;
void uartPinConfigure(const serialPinConfig_t *pSerialPinConfig);