From b8b92e120220ee19f623809673323344e257bd4b Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 29 Nov 2012 16:32:49 +0700 Subject: hid mouse working --- tinyusb/device/dcd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tinyusb/device') 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 @@ -160,3 +162,5 @@ void USB_IRQHandler(void) { USBD_API->hw->ISR(g_hUsb); } + +#endif -- cgit v1.3.1