summaryrefslogtreecommitdiff
path: root/examples/device/device_virtual_com/src/tusb_descriptors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-04-12 13:23:52 +0700
committerhathach <[email protected]>2018-04-12 13:23:52 +0700
commit4b660175beea2c76a1a761e3840937d9784ab201 (patch)
tree2d3b595aa8bf9e1ffcb7dd1feafd92275e92994e /examples/device/device_virtual_com/src/tusb_descriptors.h
parent3d31f921068d906f6f63f59a3b10784f28e97d4d (diff)
rename CFG_TUSB_DEVICE_* to CFG_TUD_*
Diffstat (limited to 'examples/device/device_virtual_com/src/tusb_descriptors.h')
-rw-r--r--examples/device/device_virtual_com/src/tusb_descriptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/device_virtual_com/src/tusb_descriptors.h b/examples/device/device_virtual_com/src/tusb_descriptors.h
index 2d362bc0b..0c80579e1 100644
--- a/examples/device/device_virtual_com/src/tusb_descriptors.h
+++ b/examples/device/device_virtual_com/src/tusb_descriptors.h
@@ -50,7 +50,7 @@
// each combination of interfaces need to have a unique productid, as windows will bind & remember device driver after the first plug.
// Auto ProductID layout's Bitmap: (MSB) MassStorage | Generic | Mouse | Key | CDC (LSB)
#ifndef CFG_PRODUCTID
- #define PRODUCTID_BITMAP(interface, n) ( (CFG_TUSB_DEVICE_##interface) << (n) )
+ #define PRODUCTID_BITMAP(interface, n) ( (CFG_TUD_##interface) << (n) )
#define CFG_PRODUCTID (0x4000 | ( PRODUCTID_BITMAP(CDC, 0) | PRODUCTID_BITMAP(HID_KEYBOARD, 1) | \
PRODUCTID_BITMAP(HID_MOUSE, 2) | PRODUCTID_BITMAP(HID_GENERIC, 3) | \
PRODUCTID_BITMAP(MSC, 4) ) )