Skip to content

Commit

Permalink
[component/usb] fix protocol in iad device descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
versaloon committed Aug 7, 2023
1 parent fc7d47e commit 0bb865d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/component/usb/device/vsf_usbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 0bb865d

Please sign in to comment.