fix hwSerial tx only flush (#4263)

This commit is contained in:
Bert Melis 2020-10-01 14:30:45 +02:00 committed by GitHub
parent 0957776855
commit f98fc7ee9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len)
void uartFlush(uart_t* uart) void uartFlush(uart_t* uart)
{ {
uartFlushTxOnly(uart,false); uartFlushTxOnly(uart,true);
} }
void uartFlushTxOnly(uart_t* uart, bool txOnly) void uartFlushTxOnly(uart_t* uart, bool txOnly)