From 1cb356c9df9fd64a77c2e2cdbf54b012baaed524 Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Fri, 11 Jan 2013 00:03:46 +0800 Subject: [PATCH] Correct macro definition --- components/drivers/include/drivers/usb_device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drivers/include/drivers/usb_device.h b/components/drivers/include/drivers/usb_device.h index e4b623ab0..79658b9a1 100644 --- a/components/drivers/include/drivers/usb_device.h +++ b/components/drivers/include/drivers/usb_device.h @@ -21,13 +21,13 @@ /* Vendor ID */ #ifdef USB_VENDOR_ID -#define USB_VENDOR_ID _VENDOR_ID +#define _VENDOR_ID USB_VENDOR_ID #else #define _VENDOR_ID 0x0EFF #endif /* Product ID */ #ifdef USB_PRODUCT_ID -#define USB_PRODUCT_ID _PRODUCT_ID +#define _PRODUCT_ID USB_PRODUCT_ID #else #define _PRODUCT_ID 0x0001 #endif