summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Shawcroft <[email protected]>2024-12-02 12:32:39 -0800
committerScott Shawcroft <[email protected]>2024-12-02 12:35:32 -0800
commit3653c23240046a99d8b846b65d875589f0edcd16 (patch)
treed3ab13bb1e2a57d6791d84840816398318b5b1cc /src
parent2179fb1bd93b71d755c4bf212aff7094f5e8337d (diff)
Disable DWC HCD interrupt with MAX3421 enabled
hcd_int_handler isn't found otherwise.
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dwc2_esp32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_esp32.h b/src/portable/synopsys/dwc2/dwc2_esp32.h
index ddbfd0d10..3309760ff 100644
--- a/src/portable/synopsys/dwc2/dwc2_esp32.h
+++ b/src/portable/synopsys/dwc2/dwc2_esp32.h
@@ -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);
}