Disable DWC HCD interrupt with MAX3421 enabled

hcd_int_handler isn't found otherwise.
This commit is contained in:
Scott Shawcroft 2024-12-02 12:32:39 -08:00
parent 2179fb1bd9
commit 3653c23240
No known key found for this signature in database

View File

@ -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);
}