Skip to content

Commit 99dcfaf

Browse files
authored
fix(uart): missing parentesis - typo
1 parent d2100bb commit 99dcfaf

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
@@ -497,7 +497,7 @@ uart_t *uartBegin(
497497
log_v("UART%d not installed. Starting installation", uart_nr);
498498
}
499499
uart_config_t uart_config;
500-
memset(&uart_config, 0, sizeof(uart_config_t);
500+
memset(&uart_config, 0, sizeof(uart_config_t));
501501
uart_config.flags.backup_before_sleep = false; // new flag from IDF v5.3
502502
uart_config.data_bits = (config & 0xc) >> 2;
503503
uart_config.parity = (config & 0x3);

0 commit comments

Comments
 (0)