summaryrefslogtreecommitdiff
path: root/examples/device/midi_test/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-25 16:52:20 +0700
committerhathach <[email protected]>2019-07-25 16:52:20 +0700
commit8ba71be6ee26c077ca37b895d773f2507f9371c8 (patch)
treeee9c142f4a51121c0a79c0232c1de8ab772c91d9 /examples/device/midi_test/src
parentcaf2b6d46346ee0d27f2e10c57b84a538c799475 (diff)
more webusb + vendor
Diffstat (limited to 'examples/device/midi_test/src')
-rw-r--r--examples/device/midi_test/src/usb_descriptors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/usb_descriptors.c b/examples/device/midi_test/src/usb_descriptors.c
index d9ab42f09..95d3cca25 100644
--- a/examples/device/midi_test/src/usb_descriptors.c
+++ b/examples/device/midi_test/src/usb_descriptors.c
@@ -32,7 +32,8 @@
* [MSB] MIDI | HID | MSC | CDC [LSB]
*/
#define _PID_MAP(itf, n) ( (CFG_TUD_##itf) << (n) )
-#define USB_PID (0x4000 | _PID_MAP(CDC, 0) | _PID_MAP(MSC, 1) | _PID_MAP(HID, 2) | _PID_MAP(MIDI, 3) )
+#define USB_PID (0x4000 | _PID_MAP(CDC, 0) | _PID_MAP(MSC, 1) | _PID_MAP(HID, 2) | \
+ _PID_MAP(MIDI, 3) | _PID_MAP(VENDOR, 4) )
//--------------------------------------------------------------------+
// Device Descriptors