Skip to content

Commit 070836a

Browse files
authored
Update esp32-hal-uart.c
1 parent 16b7589 commit 070836a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len)
328328

329329
vois uartFlush(uart_t* uart)
330330
{
331-
uartFlush(uart,false);
331+
uartFlushTxOnly(uart,false);
332332
}
333333

334-
void uartFlush(uart_t* uart, bool txOnly)
334+
void uartFlushTxOnly(uart_t* uart, bool txOnly)
335335
{
336336
if(uart == NULL) {
337337
return;

0 commit comments

Comments
 (0)