diff options
| author | hathach <[email protected]> | 2025-11-26 14:05:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-26 14:05:10 +0700 |
| commit | 1a51a7e159a0db42279b971b5e460a270fa26750 (patch) | |
| tree | 7a45beeb1d59162841e9221c434cb503d67b9e32 /src | |
| parent | e1c218f64865b6b0d23f1bf37af22e73ac2c2ee2 (diff) | |
dwc2 only enable dedicated hwfifo if DMA is not enabled
Diffstat (limited to 'src')
| -rw-r--r-- | src/tusb_option.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index d7b61d58d..eb072faab 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -305,11 +305,11 @@ #endif #if defined(TUP_USBIP_DWC2) - #if CFG_TUD_DWC2_SLAVE_ENABLE + #if CFG_TUD_DWC2_SLAVE_ENABLE && !CFG_TUD_DWC2_DMA_ENABLE #define CFG_TUD_EDPT_DEDICATED_HWFIFO 1 #endif - #if CFG_TUD_DWC2_SLAVE_ENABLE + #if CFG_TUD_DWC2_SLAVE_ENABLE && !CFG_TUH_DWC2_DMA_ENABLE #define CFG_TUH_EDPT_DEDICATED_HWFIFO 1 #endif #endif |
