summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-12 14:06:41 +0700
committerhathach <[email protected]>2013-06-12 14:06:41 +0700
commitee57a6f13fcd8b75611713e3bec5a07202cc8f5a (patch)
tree2ed75bea1ff315ac82aa15446d82d84f0a298d90 /tinyusb/class
parent17a27f7398c2807796432bbca5e90d97f09ae051 (diff)
clean up
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/hid_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c
index 94ec6df68..994218638 100644
--- a/tinyusb/class/hid_device.c
+++ b/tinyusb/class/hid_device.c
@@ -50,7 +50,7 @@
#if defined(CAP_DEVICE_ROMDRIVER) && TUSB_CFG_DEVICE_USE_ROM_DRIVER
#include "device/dcd_nxp_romdriver.h" // TODO remove rom driver dependency
-#endif
+
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
@@ -325,5 +325,6 @@ ErrorCode_t HID_EpOut_Hdlr (USBD_HANDLE_T hUsb, void* data, uint32_t event)
}
return LPC_OK;
}
+#endif
#endif