Skip to content

Commit f98fc7e

Browse files
authored
fix hwSerial tx only flush (#4263)
1 parent 0957776 commit f98fc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/esp32-hal-uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len)
371371

372372
void uartFlush(uart_t* uart)
373373
{
374-
uartFlushTxOnly(uart,false);
374+
uartFlushTxOnly(uart,true);
375375
}
376376

377377
void uartFlushTxOnly(uart_t* uart, bool txOnly)

0 commit comments

Comments
 (0)