summaryrefslogtreecommitdiff
path: root/demo/gs_usb_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/gs_usb_template.c')
-rw-r--r--demo/gs_usb_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demo/gs_usb_template.c b/demo/gs_usb_template.c
index b82c41c8..d6b533c1 100644
--- a/demo/gs_usb_template.c
+++ b/demo/gs_usb_template.c
@@ -74,6 +74,7 @@ struct usb_msosv1_descriptor linux_msosv1_desc = {
.vendor_code = LINUX_USBD_GS_CAN_VENDOR_CODE,
.compat_id = linux_WINUSB_WCIDDescriptor,
.comp_id_property = linux_WINUSB_IFx_WCIDProperties,
+ .comp_id_property_count = sizeof(linux_WINUSB_IFx_WCIDProperties) / sizeof(linux_WINUSB_IFx_WCIDProperties[0]),
};
static const uint8_t linux_device_descriptor[] = {