diff options
| author | hathach <[email protected]> | 2018-07-25 14:07:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-25 14:07:27 +0700 |
| commit | c3b082ab20b1e61afc487925a48779e603ff7d63 (patch) | |
| tree | 4d92fd8d3cbb924fe41e2bbeaffd6ed8601409f7 /src/device | |
| parent | 2729937e87feef3baa45113e220feddd82fde722 (diff) | |
add tusb_usbser.inf for windows
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd_desc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd_desc.c b/src/device/usbd_desc.c index 295eb166c..7e9feae90 100644 --- a/src/device/usbd_desc.c +++ b/src/device/usbd_desc.c @@ -56,10 +56,10 @@ * Same VID/PID with different interface e.g MSC (first), then CDC (later) will possibly cause system error on PC. * * Auto ProductID layout's Bitmap: - * [MSB] HID | MSC | CDC [LSB] + * [MSB] HID Generic | HID Composite | HID Mouse | HID Keyboard | MSC | CDC [LSB] */ #define _PID_MAP(itf, n) ( (CFG_TUD_##itf) << (n) ) -#define CFG_TUD_DESC_PID (0x8000 | _PID_MAP(CDC, 0) | _PID_MAP(MSC, 1) | \ +#define CFG_TUD_DESC_PID (0x4000 | _PID_MAP(CDC, 0) | _PID_MAP(MSC, 1) | \ _PID_MAP(HID_KEYBOARD, 2) | _PID_MAP(HID_MOUSE, 3) ) #endif |
