summaryrefslogtreecommitdiff
path: root/demo/adb_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/adb_template.c')
-rw-r--r--demo/adb_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demo/adb_template.c b/demo/adb_template.c
index 871d41a7..34715509 100644
--- a/demo/adb_template.c
+++ b/demo/adb_template.c
@@ -100,6 +100,7 @@ struct usb_msosv1_descriptor msosv1_desc = {
.vendor_code = WCID_VENDOR_CODE,
.compat_id = WINUSB_WCIDDescriptor,
.comp_id_property = WINUSB_IFx_WCIDProperties,
+ .comp_id_property_count = sizeof(WINUSB_IFx_WCIDProperties) / sizeof(WINUSB_IFx_WCIDProperties[0]),
};
static const uint8_t device_descriptor[] = {