Skip to content

Commit

Permalink
Update dcd_dwc2.c
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Dec 12, 2024
1 parent ac5db72 commit c1053bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/arduino_tinyusb/src/dcd_dwc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#if TU_CHECK_MCU(OPT_MCU_GD32VF103)
#define DWC2_EP_COUNT(_dwc2) DWC2_EP_MAX
#else
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep)
#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep + 1)
#endif

//--------------------------------------------------------------------+
Expand Down

0 comments on commit c1053bc

Please sign in to comment.