summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2026-05-27 21:46:26 +0800
committersakumisu <[email protected]>2026-05-27 21:46:26 +0800
commitdd1b632ecc1afeb3b427353c30de1761fd7192af (patch)
tree8c46c9b259c01dd6bb1c6cb67f77e9a4eacfa5b1
parent51e3b5602ff00342c13721b53e1dfc60f8187a8f (diff)
fix(common/usb_def): fix msos desc
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--common/usb_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_def.h b/common/usb_def.h
index be5ab061..e3fdd240 100644
--- a/common/usb_def.h
+++ b/common/usb_def.h
@@ -766,12 +766,12 @@ struct usb_desc_header {
#define USB_MSOSV1_COMP_ID_FUNCTION_MTP_DESCRIPTOR_INIT(bFirstInterfaceNumber)\
bFirstInterfaceNumber, /* bFirstInterfaceNumber */\
0x01, /* reserved1 */ \
- 'M', 'T', 'P', 'U', 'S', 'B', 0x00, 0x00, /* compatibleID[8] */ \
+ 'M', 'T', 'P', 0x00, 0x00, 0x00, 0x00, 0x00, /* compatibleID[8] */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* subCompatibleID[8] */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* reserved2[6] */
#define USB_MSOSV1_COMP_ID_FUNCTION_ADB_DESCRIPTOR_INIT(bFirstInterfaceNumber)\
- bFirstInterfaceNumber, * bFirstInterfaceNumber */\
+ bFirstInterfaceNumber, /* bFirstInterfaceNumber */\
0x01, /* reserved1 */ \
'A', 'D', 'B', 0x00, 0x00, 0x00, 0x00, 0x00, /* compatibleID[8] */ \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* subCompatibleID[8] */ \