From 293e14e8bd4b87019780ed0598cb7cfaa636415a Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Fri, 21 Jul 2023 05:23:40 +0200 Subject: [PATCH] Revert 12577 change for F4 (#12969) --- src/main/drivers/stm32/serial_uart_stm32f4xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/drivers/stm32/serial_uart_stm32f4xx.c b/src/main/drivers/stm32/serial_uart_stm32f4xx.c index 1f5dbf5b762..b2a9ac00e17 100644 --- a/src/main/drivers/stm32/serial_uart_stm32f4xx.c +++ b/src/main/drivers/stm32/serial_uart_stm32f4xx.c @@ -390,9 +390,6 @@ void uartIrqHandler(uartPort_t *s) s->port.txBufferTail = (s->port.txBufferTail + 1) % s->port.txBufferSize; } else { USART_ITConfig(s->USARTx, USART_IT_TXE, DISABLE); - - // Switch TX to an input with pullup so it's state can be monitored - uartTxMonitor(s); } }