diff --git a/AT32F425/src/descriptor.c b/AT32F425/src/descriptor.c index c098507..dc133ae 100644 --- a/AT32F425/src/descriptor.c +++ b/AT32F425/src/descriptor.c @@ -75,7 +75,7 @@ ALIGNED_HEAD uint8_t g_config_descriptor[] ALIGNED_TAIL = #endif 0x00, // bInterfaceSubClass 0x00, // bInterfaceProtocol - 0x05, // iInterface + 0x05, // iInterface£¬±ØÐëÊÇ 5£¬ÒòΪ USB_INTERFACE_STRING == 5 #ifdef DAP_FW_V1 // HID Descriptor diff --git a/CH32V305/src/USBD/usb_desc.h b/CH32V305/src/USBD/usb_desc.h index 4df3b92..0dd60c9 100644 --- a/CH32V305/src/USBD/usb_desc.h +++ b/CH32V305/src/USBD/usb_desc.h @@ -2,11 +2,11 @@ #define __USB_DESC_H__ -#define USBD_VID 0x0416 +#define USBD_VID 0x1A86 #ifdef DAP_FW_V1 -#define USBD_PID 0x5951 +#define USBD_PID 0x5321 #else -#define USBD_PID 0x7997 +#define USBD_PID 0x7321 #endif