From bbd75ab7ef512c350e8164e5338853164c600538 Mon Sep 17 00:00:00 2001 From: Bernd Herzog Date: Sun, 7 Jan 2024 11:57:16 +0100 Subject: [PATCH] fixed usb descriptor product string length (#1731) --- firmware/application/usb_serial_descriptor.c | 2 +- firmware/baseband/sd_over_usb/usb_descriptor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/usb_serial_descriptor.c b/firmware/application/usb_serial_descriptor.c index dbdbfee3..aff13e58 100644 --- a/firmware/application/usb_serial_descriptor.c +++ b/firmware/application/usb_serial_descriptor.c @@ -264,7 +264,7 @@ uint8_t usb_descriptor_string_manufacturer[] = { }; uint8_t usb_descriptor_string_product[] = { - 43, // bLength + 34, // bLength USB_DESCRIPTOR_TYPE_STRING, // bDescriptorType 'P', 0x00, 'o', 0x00, diff --git a/firmware/baseband/sd_over_usb/usb_descriptor.c b/firmware/baseband/sd_over_usb/usb_descriptor.c index 23be7891..ceb60f9b 100644 --- a/firmware/baseband/sd_over_usb/usb_descriptor.c +++ b/firmware/baseband/sd_over_usb/usb_descriptor.c @@ -186,7 +186,7 @@ uint8_t usb_descriptor_string_manufacturer[] = { uint8_t usb_descriptor_string_product[] = { #ifdef HACKRF_ONE - 43, // bLength + 34, // bLength USB_DESCRIPTOR_TYPE_STRING, // bDescriptorType 'P', 0x00, 'o', 0x00,