change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default = true)
This commit is contained in:
@@ -188,7 +188,7 @@ void usbfs_interrupt_handler(void) {
|
||||
R_BSP_IrqStatusClear(irq);
|
||||
|
||||
#if PORT_SUPPORT_HOST(0)
|
||||
tuh_int_handler(0);
|
||||
tuh_int_handler(0, true);
|
||||
#endif
|
||||
|
||||
#if PORT_SUPPORT_DEVICE(0)
|
||||
@@ -201,7 +201,7 @@ void usbfs_resume_handler(void) {
|
||||
R_BSP_IrqStatusClear(irq);
|
||||
|
||||
#if PORT_SUPPORT_HOST(0)
|
||||
tuh_int_handler(0);
|
||||
tuh_int_handler(0, true);
|
||||
#endif
|
||||
|
||||
#if PORT_SUPPORT_DEVICE(0)
|
||||
@@ -229,7 +229,7 @@ void usbhs_interrupt_handler(void) {
|
||||
R_BSP_IrqStatusClear(irq);
|
||||
|
||||
#if PORT_SUPPORT_HOST(1)
|
||||
tuh_int_handler(1);
|
||||
tuh_int_handler(1, true);
|
||||
#endif
|
||||
|
||||
#if PORT_SUPPORT_DEVICE(1)
|
||||
|
Reference in New Issue
Block a user