Skip to content

Commit f9002b5

Browse files
authored
bool uartSetBaudRate()
1 parent 96ff5e4 commit f9002b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void uartWriteBuf(uart_t *uart, const uint8_t *data, size_t len);
5757
void uartFlush(uart_t *uart);
5858
void uartFlushTxOnly(uart_t *uart, bool txOnly);
5959

60-
void uartSetBaudRate(uart_t *uart, uint32_t baud_rate);
60+
bool uartSetBaudRate(uart_t *uart, uint32_t baud_rate);
6161
uint32_t uartGetBaudRate(uart_t *uart);
6262

6363
void uartSetRxInvert(uart_t *uart, bool invert);

0 commit comments

Comments
 (0)