1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Revert 12577 change for F4 (#12969)

This commit is contained in:
Mark Haslinghuis 2023-07-21 05:23:40 +02:00 committed by GitHub
parent 1485438c40
commit 293e14e8bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -390,9 +390,6 @@ void uartIrqHandler(uartPort_t *s)
s->port.txBufferTail = (s->port.txBufferTail + 1) % s->port.txBufferSize; s->port.txBufferTail = (s->port.txBufferTail + 1) % s->port.txBufferSize;
} else { } else {
USART_ITConfig(s->USARTx, USART_IT_TXE, DISABLE); USART_ITConfig(s->USARTx, USART_IT_TXE, DISABLE);
// Switch TX to an input with pullup so it's state can be monitored
uartTxMonitor(s);
} }
} }