Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4

This commit is contained in:
zhaoweiliang 2023-01-03 20:12:08 +08:00
parent 490216a2ac
commit 6b0a64d722

View File

@ -122,6 +122,7 @@ int hci_uart_config(int port_num, int32_t baud_rate, uint8_t data_bits, uint8_t
.stop_bits = stop_bits,
.flow_ctrl = HCI_UART_FLOWCTRL,
.source_clk = UART_SCLK_DEFAULT,
.rx_flow_ctrl_thresh = UART_FIFO_LEN - 1,
};
hci_uart.port = port_num;
hci_uart.cfg = uart_cfg;