Merge pull request #2895 from tannewt/p4_fixes

Disable DWC HCD interrupt with MAX3421
This commit is contained in:
Ha Thach 2024-12-03 14:25:24 +07:00 committed by GitHub
commit eabf68bd91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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