From 8e1c27aa83388637b2048e497837897e1824694d Mon Sep 17 00:00:00 2001 From: fruchti Date: Sat, 17 Jun 2023 16:37:04 +0200 Subject: [PATCH] Use compliant manufacturer string, PID --- stm32f103t8u6/src/usb_descriptors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stm32f103t8u6/src/usb_descriptors.c b/stm32f103t8u6/src/usb_descriptors.c index 8ad8955..97bc74c 100644 --- a/stm32f103t8u6/src/usb_descriptors.c +++ b/stm32f103t8u6/src/usb_descriptors.c @@ -10,7 +10,7 @@ const USB_DeviceDescriptor_t USB_DeviceDescriptor = .bDeviceProtocol = 0x00, // Protocol per interface .bMaxPacketSize0 = 64, .idVendor = 0x16c0, - .idProduct = 0x05dc, + .idProduct = 0x05e1, .bcdDevice = 0x0200, .iManufacturer = 1, .iProduct = 2, @@ -121,7 +121,7 @@ const USB_WholeDescriptor_t USB_ConfigurationInterfaceDescriptor = #define USB_STRING_LANGID 0x0409 #define USB_STRING_VENDOR \ - '2', '5', '1', '2', '0' + '2', '5', '1', '2', '0', '.', 'o', 'r', 'g' #define USB_STRING_PRODUCT \ 'H', 'P', 'G', 'L', ' ', 'X', 'Y'