usbdev-composite: In the device descriptor, 0xEF means use of IAD

Signed-off-by: sunkun3 <sunkun3@xiaomi.com>
This commit is contained in:
sunkun3 2023-05-30 20:51:17 +08:00 committed by Mateusz Szafoni
parent 1b0ab4c0f7
commit e872610071

View File

@ -56,7 +56,7 @@ static const struct usb_devdesc_s g_devdesc =
LSBYTE(0x0200),
MSBYTE(0x0200)
},
#ifndef CONFIG_COMPOSITE_IAD
#ifdef CONFIG_COMPOSITE_IAD
USB_CLASS_MISC, /* classid */
2, /* subclass */
1, /* protocol */