We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1f6eb4 + 1cc2e53 commit a107039Copy full SHA for a107039
main/interface/uart/at_uart_api.c
@@ -1,5 +1,5 @@
1
/*
2
- * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
@@ -262,10 +262,10 @@ void at_uart_config_init(uart_config_t *config)
262
config->flow_ctrl = CONFIG_AT_UART_DEFAULT_FLOW_CONTROL;
263
config->rx_flow_ctrl_thresh = 122;
264
265
-#if SOC_UART_SUPPORT_REF_TICK
266
- config->source_clk = UART_SCLK_REF_TICK;
267
-#elif SOC_UART_SUPPORT_XTAL_CLK
+#if SOC_UART_SUPPORT_XTAL_CLK
268
config->source_clk = UART_SCLK_XTAL;
+#else
+ config->source_clk = UART_SCLK_DEFAULT;
269
#endif
270
}
271
0 commit comments