From f98fc7ee9f266a0a1d10ec711e05184688c6de30 Mon Sep 17 00:00:00 2001 From: Bert Melis Date: Thu, 1 Oct 2020 14:30:45 +0200 Subject: [PATCH] fix hwSerial tx only flush (#4263) --- cores/esp32/esp32-hal-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-uart.c b/cores/esp32/esp32-hal-uart.c index cad5a1d4..7ee23b95 100644 --- a/cores/esp32/esp32-hal-uart.c +++ b/cores/esp32/esp32-hal-uart.c @@ -371,7 +371,7 @@ void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len) void uartFlush(uart_t* uart) { - uartFlushTxOnly(uart,false); + uartFlushTxOnly(uart,true); } void uartFlushTxOnly(uart_t* uart, bool txOnly)