Skip to content

Commit dd7d372

Browse files
authored
Update dcd_dwc2.c
1 parent aa7826c commit dd7d372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/arduino_tinyusb/src/dcd_dwc2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#if TU_CHECK_MCU(OPT_MCU_GD32VF103)
4545
#define DWC2_EP_COUNT(_dwc2) DWC2_EP_MAX
4646
#else
47-
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep)
47+
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep + 1)
4848
#endif
4949

5050
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy