summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--class/mtp/usb_mtp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/class/mtp/usb_mtp.h b/class/mtp/usb_mtp.h
index 524abb75..f20d0f7d 100644
--- a/class/mtp/usb_mtp.h
+++ b/class/mtp/usb_mtp.h
@@ -675,9 +675,8 @@ struct mtp_object {
USB_DESCRIPTOR_TYPE_ENDPOINT, /* bDescriptorType */ \
int_ep, /* bEndpointAddress */ \
0x03, /* bmAttributes */ \
- 0x1c, /* wMaxPacketSize */ \
- 0x00, /* bInterval */ \
- 0x06 /* bLength */
+ WBVAL(0x1c), /* wMaxPacketSize */ \
+ 0x06 /* bInterval */
// clang-format on
#endif \ No newline at end of file