mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
This commit is contained in:
@@ -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,
|
.stop_bits = stop_bits,
|
||||||
.flow_ctrl = HCI_UART_FLOWCTRL,
|
.flow_ctrl = HCI_UART_FLOWCTRL,
|
||||||
.source_clk = UART_SCLK_DEFAULT,
|
.source_clk = UART_SCLK_DEFAULT,
|
||||||
|
.rx_flow_ctrl_thresh = UART_FIFO_LEN - 1,
|
||||||
};
|
};
|
||||||
hci_uart.port = port_num;
|
hci_uart.port = port_num;
|
||||||
hci_uart.cfg = uart_cfg;
|
hci_uart.cfg = uart_cfg;
|
||||||
|
Reference in New Issue
Block a user