diff options
| author | hathach <[email protected]> | 2026-02-13 22:29:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-02-13 22:29:14 +0700 |
| commit | f0b44ec6154237a4bd65a5a9d8f8bf944669af64 (patch) | |
| tree | a19e77e93d1e9b690dd0ac27cf1f22682f142c86 /src/portable | |
| parent | 8f14cf4bfa061690084c7c32b3f8b70301f5e0ff (diff) | |
use CFG_TUD_CONFIGURE_DWC2_DEFAULT to make it easier to add more value
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/dcd_dwc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c index a6a598dbf..97e83f4e1 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -77,7 +77,7 @@ CFG_TUD_MEM_SECTION static struct { TUD_EPBUF_DEF(setup_packet, 8); } _dcd_usbbuf; -static tud_configure_dwc2_t _tud_cfg = TUD_CONFIGURE_DWC2_DEFAULT; +static tud_configure_dwc2_t _tud_cfg = CFG_TUD_CONFIGURE_DWC2_DEFAULT; TU_ATTR_ALWAYS_INLINE static inline uint8_t dwc2_ep_count(const dwc2_regs_t* dwc2) { #if TU_CHECK_MCU(OPT_MCU_GD32VF103) |
