summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-04 21:04:52 +0700
committerhathach <[email protected]>2022-03-04 21:04:52 +0700
commit7480c2e46b10faa0cbdac5c9db803dbb1597cd34 (patch)
tree9475e0347908cbfc0043c3327a278b92b4613a45 /src/host
parent032e2c292997f4f8fe58239fcca535bb53ed2348 (diff)
correct qhd and qtd count for ehci/ohci
Diffstat (limited to 'src/host')
-rw-r--r--src/host/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index d50fc2d60..9819f5f2a 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -40,7 +40,7 @@
//--------------------------------------------------------------------+
#ifndef CFG_TUH_ENDPOINT_MAX
- #define CFG_TUH_ENDPOINT_MAX (CFG_TUH_DEVICE_MAX*(CFG_TUH_HUB + CFG_TUH_HID*2 + CFG_TUH_MSC*2 + CFG_TUH_CDC*3))
+ #define CFG_TUH_ENDPOINT_MAX (CFG_TUH_HUB + CFG_TUH_HID*2 + CFG_TUH_MSC*2 + CFG_TUH_CDC*3)
// #ifdef TUP_HCD_ENDPOINT_MAX
// #define CFG_TUH_ENDPPOINT_MAX TUP_HCD_ENDPOINT_MAX
// #else