reworking device hid class driver
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user