Skip to content

Commit 14acad7

Browse files
authored
fix(code): uart typo - missing ( in the code
1 parent 6a5dd48 commit 14acad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ uart_t *uartBegin(
588588
UART_MUTEX_LOCK();
589589
//User may just want to change some parameters, such as baudrate, data length, parity, stop bits or pins
590590
if (uart->_baudrate != baudrate) {
591-
if !uartSetBaudRate(uart, baudrate)) {
591+
if (!uartSetBaudRate(uart, baudrate)) {
592592
log_e("UART%d changing baudrate failed.", uart_nr);
593593
retCode = false;
594594
} else {

0 commit comments

Comments
 (0)