rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handler

This commit is contained in:
hathach
2020-09-03 13:12:09 +07:00
parent 1cee2da7b9
commit 1d83ad0ebb
18 changed files with 30 additions and 32 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ void board_init(void)
void USB_OTG1_IRQHandler(void)
{
#if CFG_TUSB_RHPORT0_MODE & OPT_MODE_HOST
tuh_isr(0);
tuh_int_handler(0);
#endif
#if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
@@ -135,7 +135,7 @@ void USB_OTG1_IRQHandler(void)
void USB_OTG2_IRQHandler(void)
{
#if CFG_TUSB_RHPORT1_MODE & OPT_MODE_HOST
tuh_isr(1);
tuh_int_handler(1);
#endif
#if CFG_TUSB_RHPORT1_MODE & OPT_MODE_DEVICE