From 727040c132780fce2a87b9aa8464f78ea14531b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Mon, 17 Apr 2023 23:38:24 +0200 Subject: [PATCH] Update to new VID/PID from pidcodes --- .../LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp | 1 + .../VNA_embedded/Application/Drivers/USB/Core/Src/usbd_desc.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp index d3d7dd85..7a9c33a6 100644 --- a/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp @@ -14,6 +14,7 @@ using USBID = struct { static constexpr USBID IDs[] = { {0x0483, 0x564e}, {0x0483, 0x4121}, + {0x1209, 0x4121}, }; USBInBuffer::USBInBuffer(libusb_device_handle *handle, unsigned char endpoint, int buffer_size) : diff --git a/Software/VNA_embedded/Application/Drivers/USB/Core/Src/usbd_desc.c b/Software/VNA_embedded/Application/Drivers/USB/Core/Src/usbd_desc.c index 75355743..72c129ba 100644 --- a/Software/VNA_embedded/Application/Drivers/USB/Core/Src/usbd_desc.c +++ b/Software/VNA_embedded/Application/Drivers/USB/Core/Src/usbd_desc.c @@ -63,10 +63,10 @@ * @{ */ -#define USBD_VID 0x0483 +#define USBD_VID 0x1209 #define USBD_PID_FS 0x4121 #define USBD_LANGID_STRING 0x0409 -#define USBD_MANUFACTURER_STRING "STMicroelectronics" +#define USBD_MANUFACTURER_STRING "LibreVNA" #define USBD_PRODUCT_STRING_FS "VNA" #define USBD_CONFIGURATION_STRING_FS "CustomUSBDevice Config" #define USBD_INTERFACE_STRING_FS "CustomUSBDevice Interface"