mirror of
https://github.com/XIVN1987/DAPLink.git
synced 2026-09-27 06:26:16 +00:00
update CH32V305 USB VID
This commit is contained in:
@@ -75,7 +75,7 @@ ALIGNED_HEAD uint8_t g_config_descriptor[] ALIGNED_TAIL =
|
|||||||
#endif
|
#endif
|
||||||
0x00, // bInterfaceSubClass
|
0x00, // bInterfaceSubClass
|
||||||
0x00, // bInterfaceProtocol
|
0x00, // bInterfaceProtocol
|
||||||
0x05, // iInterface
|
0x05, // iInterface,必须是 5,因为 USB_INTERFACE_STRING == 5
|
||||||
|
|
||||||
#ifdef DAP_FW_V1
|
#ifdef DAP_FW_V1
|
||||||
// HID Descriptor
|
// HID Descriptor
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
#define __USB_DESC_H__
|
#define __USB_DESC_H__
|
||||||
|
|
||||||
|
|
||||||
#define USBD_VID 0x0416
|
#define USBD_VID 0x1A86
|
||||||
#ifdef DAP_FW_V1
|
#ifdef DAP_FW_V1
|
||||||
#define USBD_PID 0x5951
|
#define USBD_PID 0x5321
|
||||||
#else
|
#else
|
||||||
#define USBD_PID 0x7997
|
#define USBD_PID 0x7321
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user