summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-12-04 11:30:34 +0700
committerhathach <[email protected]>2012-12-04 11:30:34 +0700
commit8f00307986b71fdc48210e0ee4821a95392be4c3 (patch)
treea325f10d67785e897ffd4bdcf514cf15c927acfb /tinyusb/device
parent921561be607a9ec3edd059de8e5d7b7f75dd2f76 (diff)
fixed building errors with device example
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/dcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd.c b/tinyusb/device/dcd.c
index ca6fafe76..480db2119 100644
--- a/tinyusb/device/dcd.c
+++ b/tinyusb/device/dcd.c
@@ -59,7 +59,7 @@ ErrorCode_t USB_Configure_Event (USBD_HANDLE_T hUsb)
USB_CORE_CTRL_T* pCtrl = (USB_CORE_CTRL_T*)hUsb;
if (pCtrl->config_value)
{
- #if defined(CLASS_HID)
+ #if defined(TUSB_CLASS_HID)
ASSERT( tERROR_NONE == tusb_hid_configured(hUsb), ERR_FAILED );
#endif