Skip to content

Commit a107039

Browse files
committed
Merge branch 'bugfix/low_throughput_on_esp32' into 'master'
fix(uart): Fixed a low throughput issue on esp32 and esp32s2 See merge request application/esp-at!1711
2 parents f1f6eb4 + 1cc2e53 commit a107039

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main/interface/uart/at_uart_api.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -262,10 +262,10 @@ void at_uart_config_init(uart_config_t *config)
262262
config->flow_ctrl = CONFIG_AT_UART_DEFAULT_FLOW_CONTROL;
263263
config->rx_flow_ctrl_thresh = 122;
264264

265-
#if SOC_UART_SUPPORT_REF_TICK
266-
config->source_clk = UART_SCLK_REF_TICK;
267-
#elif SOC_UART_SUPPORT_XTAL_CLK
265+
#if SOC_UART_SUPPORT_XTAL_CLK
268266
config->source_clk = UART_SCLK_XTAL;
267+
#else
268+
config->source_clk = UART_SCLK_DEFAULT;
269269
#endif
270270
}
271271

0 commit comments

Comments
 (0)