Skip to content

Commit

Permalink
Merge branch 'bugfix/low_throughput_on_esp32' into 'master'
Browse files Browse the repository at this point in the history
fix(uart): Fixed a low throughput issue on esp32 and esp32s2

See merge request application/esp-at!1711
  • Loading branch information
xcguang committed Jan 3, 2025
2 parents f1f6eb4 + 1cc2e53 commit a107039
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main/interface/uart/at_uart_api.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -262,10 +262,10 @@ void at_uart_config_init(uart_config_t *config)
config->flow_ctrl = CONFIG_AT_UART_DEFAULT_FLOW_CONTROL;
config->rx_flow_ctrl_thresh = 122;

#if SOC_UART_SUPPORT_REF_TICK
config->source_clk = UART_SCLK_REF_TICK;
#elif SOC_UART_SUPPORT_XTAL_CLK
#if SOC_UART_SUPPORT_XTAL_CLK
config->source_clk = UART_SCLK_XTAL;
#else
config->source_clk = UART_SCLK_DEFAULT;
#endif
}

Expand Down

0 comments on commit a107039

Please sign in to comment.