We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76e7c32 + bcd8c32 commit 92335c3Copy full SHA for 92335c3
esp_hosted_fg/esp/esp_driver/network_adapter/main/slave_bt.c
@@ -28,6 +28,8 @@
28
#include "soc/lldesc.h"
29
#include "esp_mac.h"
30
31
+#include "esp_idf_version.h"
32
+
33
#if BT_OVER_C3_S3
34
35
#include "esp_private/gdma.h"
@@ -361,7 +363,11 @@ static void init_uart_c3_s3(void)
361
363
362
364
// configure UHCI
365
uhci_ll_init(s_uhci_hw);
366
+#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0)
367
uhci_ll_set_eof_mode(s_uhci_hw, UHCI_RX_LEN_EOF);
368
+#else
369
+ uhci_ll_rx_set_eof_mode(s_uhci_hw, UHCI_RX_LEN_EOF);
370
+#endif
371
// disable software flow control
372
s_uhci_hw->escape_conf.val = 0;
373
uhci_ll_attach_uart_port(s_uhci_hw, 1);
0 commit comments