diff options
| author | hathach <[email protected]> | 2025-02-13 15:52:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-02-13 15:54:31 +0700 |
| commit | bad6cbe48930c0c5250b8a717a46cc1f6d83de56 (patch) | |
| tree | 6cc4d134451896e34d8570e3d682cc92ab5f6cc9 /src/host/usbh.h | |
| parent | e0b192b633e70338ef5ac88c7f5a49f37867b289 (diff) | |
update midi host to use endpoint stream API
Diffstat (limited to 'src/host/usbh.h')
| -rw-r--r-- | src/host/usbh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h index 3bcdd3657..7fc8ea826 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -37,6 +37,9 @@ // MACRO CONSTANT TYPEDEF //--------------------------------------------------------------------+ +// Endpoint Bulk size depending on host mx speed +#define TUH_EPSIZE_BULK_MPS (TUD_OPT_HIGH_SPEED ? TUSB_EPSIZE_BULK_HS : TUSB_EPSIZE_BULK_FS) + // forward declaration struct tuh_xfer_s; typedef struct tuh_xfer_s tuh_xfer_t; |
