kopia lustrzana https://github.com/espressif/esp-idf
Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash
rodzic
dfbebccf91
commit
a3df364269
|
@ -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);
|
||||||
|
|
Ładowanie…
Reference in New Issue