summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demo/webusb_hid_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/webusb_hid_template.c b/demo/webusb_hid_template.c
index f446391f..1019e054 100644
--- a/demo/webusb_hid_template.c
+++ b/demo/webusb_hid_template.c
@@ -135,7 +135,7 @@ uint8_t USBD_BinaryObjectStoreDescriptor[USBD_BOS_WTOTALLENGTH] = {
struct usb_webusb_descriptor webusb_url_desc = {
.vendor_code = USBD_WEBUSB_VENDOR_CODE,
.string = USBD_WebUSBURLDescriptor,
- .string_len = USBD_WINUSB_DESC_SET_LEN
+ .string_len = URL_DESCRIPTOR_LENGTH
};
struct usb_msosv2_descriptor msosv2_desc = {