diff options
| author | hathach <[email protected]> | 2025-03-06 11:03:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-03-06 11:03:47 +0700 |
| commit | ee234a84caf59d23395ed70f5e1c9d772e3f958b (patch) | |
| tree | 6c1c52876f42155f9e17a585fc14cef87a630813 /src/common | |
| parent | 39e6375b74b38b01e7868c283874b3a305b524e1 (diff) | |
hack: force/overwrite endpoint mps to 64 for device that incorrectly report 512 bytes for bulk in fullspeed mode.
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 445882243..31aca8a31 100644 --- a/src/common/tusb_private.h +++ b/src/common/tusb_private.h @@ -67,7 +67,7 @@ typedef struct { //--------------------------------------------------------------------+ // Check if endpoint descriptor is valid per USB specs -bool tu_edpt_validate(tusb_desc_endpoint_t const * desc_ep, tusb_speed_t speed); +bool tu_edpt_validate(tusb_desc_endpoint_t const * desc_ep, tusb_speed_t speed, bool is_host); // Bind all endpoint of a interface descriptor to class driver void tu_edpt_bind_driver(uint8_t ep2drv[][2], tusb_desc_interface_t const* p_desc, uint16_t desc_len, uint8_t driver_id); |
