diff options
| author | Zixun LI <[email protected]> | 2026-09-01 10:42:39 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-09-01 10:42:39 +0200 |
| commit | f4697a0626ffa81617c457c93b64e3c3816c1af0 (patch) | |
| tree | 26d10300ee05c8887ad372038a5b1ed4384a262f /src/common | |
| parent | c588e2e8af5ca66e4602784e309e06d356addf09 (diff) | |
| parent | bc359e55b8d3fb5fc5b9e026d5c21b52d554fdd2 (diff) | |
Merge pull request #3828 from dxbjavid/ep2drv-endpoint-bound
bound endpoint number in tu_bind_driver_to_ep_itf
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_private.h | 2 |
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); |
