diff options
| author | hathach <[email protected]> | 2025-12-11 16:22:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-12-11 16:41:33 +0700 |
| commit | b73003745fb18818574baa89367fd618c36ad8b0 (patch) | |
| tree | ee94a3d610ac420852f62b4caa844215a01c50a0 /src/common | |
| parent | ef018e364e886852e2789542b5758da6143af614 (diff) | |
move host hacked bulk mps out of tu_edpt_validate()
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_private.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/tusb_private.h b/src/common/tusb_private.h index 586250163..10e12c2af 100644 --- a/src/common/tusb_private.h +++ b/src/common/tusb_private.h @@ -84,13 +84,11 @@ typedef struct { // Check if endpoint descriptor is valid per USB specs if debug is enabled #if CFG_TUSB_DEBUG -bool tu_edpt_validate(tusb_desc_endpoint_t const * desc_ep, tusb_speed_t speed, bool is_host); +bool tu_edpt_validate(const tusb_desc_endpoint_t *desc_ep, tusb_speed_t speed); #else -TU_ATTR_ALWAYS_INLINE static inline bool tu_edpt_validate(tusb_desc_endpoint_t const *desc_ep, tusb_speed_t speed, - bool is_host) { +TU_ATTR_ALWAYS_INLINE static inline bool tu_edpt_validate(const tusb_desc_endpoint_t *desc_ep, tusb_speed_t speed) { (void)desc_ep; (void)speed; - (void)is_host; return true; } #endif |
