mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash
This commit is contained in:
@ -25,6 +25,7 @@ static const uart_config_t uart_cfg = {
|
|||||||
.stop_bits = UART_STOP_BITS_1,
|
.stop_bits = UART_STOP_BITS_1,
|
||||||
.flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
|
.flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
|
||||||
.rx_flow_ctrl_thresh = 127,
|
.rx_flow_ctrl_thresh = 127,
|
||||||
|
.source_clk = UART_SCLK_DEFAULT,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void spp_msg_args_parser(char *buf, int len);
|
extern void spp_msg_args_parser(char *buf, int len);
|
||||||
|
Reference in New Issue
Block a user