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

pull/9656/head
xiongweichao 2022-08-23 15:45:08 +08:00
rodzic dfbebccf91
commit a3df364269
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);