summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2023-11-21 22:20:41 +0800
committersakumisu <[email protected]>2023-11-22 19:28:30 +0800
commite3c9fdbb862d731730f28fd8c0d566cb66aefebd (patch)
tree7e2e91d84cce711dbafbeb6ba6e140df2b34c372
parent03db11f4af29ccb0cf02c3eed133f8554de183d8 (diff)
reduce qtd num
-rw-r--r--port/ehci/usb_ehci_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/port/ehci/usb_ehci_priv.h b/port/ehci/usb_ehci_priv.h
index 5348872c..60abf2c9 100644
--- a/port/ehci/usb_ehci_priv.h
+++ b/port/ehci/usb_ehci_priv.h
@@ -28,7 +28,7 @@
#endif
#define CONFIG_USB_EHCI_QH_NUM CONFIG_USBHOST_PIPE_NUM
-#define CONFIG_USB_EHCI_QTD_NUM (CONFIG_USBHOST_PIPE_NUM * 3)
+#define CONFIG_USB_EHCI_QTD_NUM (CONFIG_USBHOST_PIPE_NUM + 3)
#define CONFIG_USB_EHCI_ITD_NUM 20
extern uint8_t usbh_get_port_speed(const uint8_t port);