reworking device hid class driver

This commit is contained in:
hathach
2018-07-23 15:25:45 +07:00
parent 141ac25e3b
commit 4342325ee1
31 changed files with 583 additions and 501 deletions
@@ -38,7 +38,7 @@
#include "tusb_option.h"
#if MODE_DEVICE_SUPPORTED && CFG_TUSB_MCU == OPT_MCU_LPC43XX
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_LPC43XX
//--------------------------------------------------------------------+
// INCLUDE
@@ -136,7 +136,7 @@ void USB0_IRQHandler(void)
hal_hcd_isr(0);
#endif
#if MODE_DEVICE_SUPPORTED
#if TUSB_OPT_DEVICE_ENABLED
hal_dcd_isr(0);
#endif
}
@@ -149,7 +149,7 @@ void USB1_IRQHandler(void)
hal_hcd_isr(1);
#endif
#if MODE_DEVICE_SUPPORTED
#if TUSB_OPT_DEVICE_ENABLED
hal_dcd_isr(1);
#endif
}