summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-07-01 09:51:56 +0800
committersakumisu <[email protected]>2025-07-01 09:51:56 +0800
commit52ea7e8dcfb96d01a1fade18ea29a15685eda5ca (patch)
tree52d888f1c56c1969523f31893794a8c1a5aae4b1
parent5a3b87e08c89af599012d6a8e62605561d7961bf (diff)
fix(demo): fix webusb desc len
Signed-off-by: sakumisu <[email protected]>
-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 = {