diff options
| author | hathach <[email protected]> | 2022-12-15 15:27:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-16 17:08:37 +0700 |
| commit | bd1f7f86ce1b6e82c3942d545e984b74b050004e (patch) | |
| tree | 81ee270a9988d418406a58ad972e1cbf261563dd /src/host | |
| parent | f62f97395626f316f1670f1777a0a75877e8e773 (diff) | |
add common EPSIZE for bulk/iso in full and highspeed
adding cdc host fifo tx/rx
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh_classdriver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/usbh_classdriver.h b/src/host/usbh_classdriver.h index c156afea0..7f72560c3 100644 --- a/src/host/usbh_classdriver.h +++ b/src/host/usbh_classdriver.h @@ -34,6 +34,10 @@ extern "C" { #endif +enum { + USBH_EPSIZE_BULK_MAX = (TUH_OPT_HIGH_SPEED ? TUSB_EPSIZE_BULK_HS : TUSB_EPSIZE_BULK_FS) +}; + //--------------------------------------------------------------------+ // Class Driver API //--------------------------------------------------------------------+ |
