From 0bb865d48bda4569fb84dfe2d5d66c522a34dc70 Mon Sep 17 00:00:00 2001 From: vsfos Date: Mon, 7 Aug 2023 22:56:46 +0800 Subject: [PATCH] [component/usb] fix protocol in iad device descriptor --- source/component/usb/device/vsf_usbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/component/usb/device/vsf_usbd.h b/source/component/usb/device/vsf_usbd.h index 6de0da986..ac917bc52 100644 --- a/source/component/usb/device/vsf_usbd.h +++ b/source/component/usb/device/vsf_usbd.h @@ -270,7 +270,7 @@ extern "C" { __attribute, /* mask attributes, eg: USB_CONFIG_ATT_[SELFPOWER/WAKEUP/BATTERY] */\ __max_power_ma /* power consumption from USB host in mA, eg: 500 */\ ) \ - __usbd_common_desc(__name, (__str_product), (__str_vendor), (__str_serial), USB_CLASS_MISC, 0x02, 0x02, (__ep0_size), (__func_desc_size), (__func_ifs_num), (__attribute), (__max_power_ma)) + __usbd_common_desc(__name, (__str_product), (__str_vendor), (__str_serial), USB_CLASS_MISC, 0x02, 0x01, (__ep0_size), (__func_desc_size), (__func_ifs_num), (__attribute), (__max_power_ma)) #define __usbd_func_desc(__name) \