summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-11-22 00:34:31 +0700
committerhathach <[email protected]>2019-11-22 00:34:31 +0700
commit627d9a2b336e53d0dd2908a9c65e24f7097d67b9 (patch)
tree8fdc7b97dbcec80186d2dda785901ecd666e149d
parent03deeea4655dc3cb39011397254f8dc6b5c9383f (diff)
adding irq to rt1064evk
-rw-r--r--hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c b/hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c
index 8793a759c..a21dcdbfc 100644
--- a/hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c
+++ b/hw/bsp/mimxrt1064_evk/mimxrt1064_evk.c
@@ -121,7 +121,7 @@ void board_init(void)
//--------------------------------------------------------------------+
// USB Interrupt Handler
//--------------------------------------------------------------------+
-void USB0_IRQHandler(void)
+void USB_OTG1_IRQHandler(void)
{
#if CFG_TUSB_RHPORT0_MODE & OPT_MODE_HOST
tuh_isr(0);
@@ -132,7 +132,7 @@ void USB0_IRQHandler(void)
#endif
}
-void USB1_IRQHandler(void)
+void USB_OTG2_IRQHandler(void)
{
#if CFG_TUSB_RHPORT1_MODE & OPT_MODE_HOST
tuh_isr(1);