summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-11-29 16:32:49 +0700
committerhathach <[email protected]>2012-11-29 16:32:49 +0700
commitb8b92e120220ee19f623809673323344e257bd4b (patch)
tree6f3248e5da2d684d41be5f27e84e8beb6f023382 /tinyusb/device
parent8f57cb6ccb65c0519d78661cb36be12e6079f965 (diff)
hid mouse working
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/dcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/device/dcd.c b/tinyusb/device/dcd.c
index f33f7fe98..a2cab2385 100644
--- a/tinyusb/device/dcd.c
+++ b/tinyusb/device/dcd.c
@@ -37,6 +37,8 @@
#include "dcd.h"
+#ifdef CFG_TUSB_DEVICE
+
// TODO refractor later
#include "descriptors.h"
#include <cr_section_macros.h>
@@ -160,3 +162,5 @@ void USB_IRQHandler(void)
{
USBD_API->hw->ISR(g_hUsb);
}
+
+#endif