Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4f1a39d

Browse files
authoredJul 30, 2024··
fix(typo): Typo and commentaries
Adds C2 in the XTAL list.
1 parent d129308 commit 4f1a39d

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
@@ -506,7 +506,7 @@ uart_t *uartBegin(
506506
// there is an issue when returning from light sleep with the C6 and H2: the uart baud rate is not restored
507507
// therefore, uart clock source will set to XTAL for all SoC that support it. This fix solves the C6|H2 issue.
508508
#if SOC_UART_SUPPORT_XTAL_CLK
509-
uart_config.source_clk = UART_SCLK_XTAL; // valid for S3, C3, C6, H2 and P4
509+
uart_config.source_clk = UART_SCLK_XTAL; // valid for C2, S3, C3, C6, H2 and P4
510510
#else
511511
// Default CLK Source: CLK_APB for ESP32|S2|S3|C3 -- CLK_PLL_F40M for C2 -- CLK_PLL_F48M for H2 -- CLK_PLL_F80M for C6
512512
uart_config.source_clk = UART_SCLK_DEFAULT; // valid for ESP32 and S2

0 commit comments

Comments
 (0)
Please sign in to comment.