add common EPSIZE for bulk/iso in full and highspeed

adding cdc host fifo tx/rx
This commit is contained in:
hathach
2022-12-15 15:27:39 +07:00
parent f62f973956
commit bd1f7f86ce
5 changed files with 68 additions and 45 deletions

View File

@@ -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
//--------------------------------------------------------------------+