Skip to content

Commit

Permalink
Disable DWC HCD interrupt with MAX3421 enabled
Browse files Browse the repository at this point in the history
hcd_int_handler isn't found otherwise.
  • Loading branch information
tannewt committed Dec 2, 2024
1 parent 2179fb1 commit 3653c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable/synopsys/dwc2/dwc2_esp32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3653c23

Please sign in to comment.