summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-02 15:57:59 +0700
committerhathach <[email protected]>2025-10-02 15:57:59 +0700
commit981dc982ce2e8b37041e47d0c17f479d08f11bd6 (patch)
tree7a419f6ab0655a67642fdca2d946d9c2a0f91eaf /src/device
parent4a0613cbafd1109a8d656d8d379040dfc38efa60 (diff)
mtp example work with highspeed device
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 1dc3761d9..a4104e47d 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -276,7 +276,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
// Length of template descriptor: 30 bytes
#define TUD_MTP_DESC_LEN (9 + 7 + 7 + 7)
-// Interface number, string index, EP Out & EP In address, EP size
+// Interface number, string index, EP event, EP event size, EP event polling, EP Out & EP In address, EP size
#define TUD_MTP_DESCRIPTOR(_itfnum, _stridx, _ep_evt, _ep_evt_size, _ep_evt_polling_interval, _epout, _epin, _epsize) \
/* Interface */\
9, TUSB_DESC_INTERFACE, _itfnum, 0, 3, TUSB_CLASS_IMAGE, MTP_SUBCLASS_STILL_IMAGE, MTP_PROTOCOL_PIMA_15470, _stridx,\