diff options
| author | hathach <[email protected]> | 2025-02-24 15:40:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-02-24 16:05:31 +0700 |
| commit | d132044b7587f7e846bbec6e7b897d0842a21d13 (patch) | |
| tree | f2f133795049f0f52a20127a0a147c64f0d03b18 /src/host | |
| parent | 56e84bd1a605e3835f29e2e7fd17f65e0f3b5431 (diff) | |
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
change tuh_midi_rx/tx_cb() to have xferred_bytes
rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count()
use default empty callback instead of weak null to be compatible with keil compiler
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh_pvt.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/host/usbh_pvt.h b/src/host/usbh_pvt.h index d27c4baa2..bfa1fb2ba 100644 --- a/src/host/usbh_pvt.h +++ b/src/host/usbh_pvt.h @@ -41,10 +41,6 @@ #define TU_LOG_INT_USBH(...) TU_LOG_INT(CFG_TUH_LOG_LEVEL, __VA_ARGS__) #define TU_LOG_HEX_USBH(...) TU_LOG_HEX(CFG_TUH_LOG_LEVEL, __VA_ARGS__) -enum { - USBH_EPSIZE_BULK_MAX = (TUH_OPT_HIGH_SPEED ? TUSB_EPSIZE_BULK_HS : TUSB_EPSIZE_BULK_FS) -}; - //--------------------------------------------------------------------+ // Class Driver API //--------------------------------------------------------------------+ |
