From 4b660175beea2c76a1a761e3840937d9784ab201 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 12 Apr 2018 13:23:52 +0700 Subject: rename CFG_TUSB_DEVICE_* to CFG_TUD_* --- examples/device/device_virtual_com/src/tusb_descriptors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/device/device_virtual_com/src/tusb_descriptors.h') 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) ) ) -- cgit v1.3.1