Skip to content

Commit d7ccd54

Browse files
authored
default value error
1 parent 8956c51 commit d7ccd54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/esp32/esp32-hal-uart.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ uint8_t uartPeek(uart_t* uart);
6262
void uartWrite(uart_t* uart, uint8_t c);
6363
void uartWriteBuf(uart_t* uart, const uint8_t * data, size_t len);
6464

65-
void uartFlush(uart_t* uart, bool txOnly = false);
65+
void uartFlush(uart_t* uart);
66+
void uartFlush(uart_t* uart, bool txOnly );
6667

6768
void uartSetBaudRate(uart_t* uart, uint32_t baud_rate);
6869
uint32_t uartGetBaudRate(uart_t* uart);

0 commit comments

Comments
 (0)