Skip to content

Commit ec507d2

Browse files
committed
Calling tuh_task for host on FS
1 parent 171c4d5 commit ec507d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cores/arduino/usb/USB.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,14 @@ void _usbfs_interrupt_handler(void)
232232

233233
#if CFG_TUSB_RHPORT0_MODE & OPT_MODE_HOST
234234
tuh_int_handler(0);
235+
tuh_task();
235236
#endif
236237

237238
#if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE
238239
tud_int_handler(0);
239-
#endif
240240
tud_task();
241+
#endif
242+
241243
}
242244

243245
void _usbhs_interrupt_handler(void)

0 commit comments

Comments
 (0)