Skip to content

Commit fb82400

Browse files
authored
default value error
1 parent d7ccd54 commit fb82400

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,11 @@ void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len)
326326
UART_MUTEX_UNLOCK();
327327
}
328328

329+
vois uartFlush(uart_t* uart)
330+
{
331+
uartFlush(uart,false);
332+
}
333+
329334
void uartFlush(uart_t* uart, bool txOnly)
330335
{
331336
if(uart == NULL) {

0 commit comments

Comments
 (0)