Merge branch 'bugfix/bt_spp_init_init_uart_crash_v5.0' into 'release/v5.0'

bt:Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash (v5.0)

See merge request espressif/esp-idf!19766
This commit is contained in:
Jiang Jiang Jian
2022-08-29 22:46:44 +08:00

View File

@@ -25,6 +25,7 @@ static const uart_config_t uart_cfg = {
.stop_bits = UART_STOP_BITS_1,
.flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
.rx_flow_ctrl_thresh = 127,
.source_clk = UART_SCLK_DEFAULT,
};
extern void spp_msg_args_parser(char *buf, int len);