add tud_irq_handler() to all NUC board

This commit is contained in:
hathach
2020-04-06 17:43:56 +07:00
parent 4179334aca
commit 138965d1d1
8 changed files with 65 additions and 21 deletions

View File

@@ -430,8 +430,10 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
}
}
void USBD_IRQHandler(void)
void dcd_irq_handler(uint8_t rhport)
{
(void) rhport;
uint32_t status = USBD->GINTSTS;
/* USB interrupt */
@@ -641,10 +643,4 @@ void USBD_IRQHandler(void)
}
}
void dcd_irq_handler(uint8_t rhport)
{
(void) rhport;
USBD_IRQHandler();
}
#endif