Skip to content

Commit 7706fbf

Browse files
authored
Update esp32-hal-uart.c
1 parent 97ae20d commit 7706fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ uart_t *uartBegin(
441441
bool retCode = true;
442442
//User may just want to change some parameters, such as baudrate, data length, parity, stop bits or pins
443443
if (uart->_baudrate != baudrate) {
444-
retCode = uartSetBaudRate(uart, baudrate);
444+
retCode = uartSetBaudRate(uart, baudrate);
445445
}
446446
UART_MUTEX_LOCK();
447447
uart_word_length_t data_bits = (config & 0xc) >> 2;

0 commit comments

Comments
 (0)