mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Disable DWC HCD interrupt with MAX3421 enabled
hcd_int_handler isn't found otherwise.
This commit is contained in:
parent
2179fb1bd9
commit
3653c23240
@ -73,7 +73,7 @@ static void dwc2_int_handler_wrap(void* arg) {
|
||||
dcd_int_handler(rhport);
|
||||
}
|
||||
#endif
|
||||
#if CFG_TUH_ENABLED
|
||||
#if CFG_TUH_ENABLED && !CFG_TUH_MAX3421
|
||||
if (role == TUSB_ROLE_HOST) {
|
||||
hcd_int_handler(rhport, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user