This is an automated email from the ASF dual-hosted git repository. raiden00 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit e87261007195b7e3d9396f111fdf06353da0cdf9 Author: sunkun3 <[email protected]> AuthorDate: Tue May 30 20:51:17 2023 +0800 usbdev-composite: In the device descriptor, 0xEF means use of IAD Signed-off-by: sunkun3 <[email protected]> --- drivers/usbdev/composite_desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usbdev/composite_desc.c b/drivers/usbdev/composite_desc.c index d052036c7f..1621f8a991 100644 --- a/drivers/usbdev/composite_desc.c +++ b/drivers/usbdev/composite_desc.c @@ -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 */
