summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-07-11 15:16:01 +0800
committersakumisu <[email protected]>2025-07-11 15:16:01 +0800
commitc5b1e1af275dd13f24136f0bc1475cce8927a5aa (patch)
tree4f678b7b4eba8ed92dea3a45ddefb94ad6585f2f
parent78a802faa6a1eac710a2e48b7aa55c3458596604 (diff)
fix typo
Signed-off-by: sakumisu <[email protected]>
-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