Merge branch 'bugfix/bt_spp_init_init_uart_crash' into 'master'

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

Closes BT-2693

See merge request espressif/esp-idf!19722
pull/9656/head
Wang Meng Yang 2022-08-25 10:36:07 +08:00
commit 7fc37a137d
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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);