Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dwc2_esp32): Fixed define for DWC_EP_MAX value #29

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/portable/synopsys/dwc2/dwc2_esp32.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
// OTG HS always has higher number of endpoints than FS
// Declare the DWC2_EP_MAX as a higher number, because dcd_dwc2.c has a xfer_status
// buffer, tied to the EP MAX value.
// IMPORTANT: Be careful during usage of two USB periphs (HS and FS) at the same time with full EPs load.
#ifdef USB_OTG_HS_PERIPH_BASE
// IMPORTANT: Be careful during usage of two USB peripherals (HS and FS) at the same time with full EPs load.
#ifdef DWC2_HS_PERIPH_BASE
#define DWC2_EP_MAX DWC2_HS_EP_MAX
#else
#define DWC2_EP_MAX DWC2_FS_EP_MAX
Expand Down
Loading