summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJavid Khan <[email protected]>2026-08-17 20:56:27 +0530
committerJavid Khan <[email protected]>2026-08-17 21:00:57 +0530
commit53567226fce0e7be7e7b5e7a019d0f4d14064c33 (patch)
tree4d768488c08055a801bb3f604ac75e85779b1ad6 /src/common
parent2465ea8f435114af3b3c935cc4fbed423d9eac69 (diff)
bound endpoint number in tu_bind_driver_to_ep_itf
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_private.h b/src/common/tusb_private.h
index 0bbc119fd..b91fc0608 100644
--- a/src/common/tusb_private.h
+++ b/src/common/tusb_private.h
@@ -63,7 +63,7 @@ TU_ATTR_ALWAYS_INLINE static inline bool tu_edpt_validate(const tusb_desc_endpoi
// Bind drivers to all interfaces and endpoints in the provided configuration descriptor
bool tu_bind_driver_to_ep_itf(uint8_t driver_id, uint8_t ep2drv[][2], uint8_t itf2drv[], uint8_t itf_max,
- const uint8_t *p_desc, uint16_t desc_len);
+ uint8_t ep_max, const uint8_t *p_desc, uint16_t desc_len);
// Claim an endpoint with provided mutex
bool tu_edpt_claim(volatile uint8_t* ep_state, osal_mutex_t mutex);