Skip to content

Commit

Permalink
Merge pull request #4 from sheltonyu/developer
Browse files Browse the repository at this point in the history
fixed compile error
  • Loading branch information
ArteryTek authored Jan 8, 2025
2 parents 5ccbfd2 + e6d74d2 commit 8e3e1f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/portable/synopsys/dwc2/dwc2_at32.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
static const dwc2_controller_t _dwc2_controller[] =
{
{ .reg_base = DWC2_OTG1_REG_BASE, .irqnum = OTG1_IRQn, .ep_count = DWC2_EP_MAX, .ep_fifo_size = OTG1_FIFO_SIZE },
#if defined DWC2_OTG2_REG_BASE
{ .reg_base = DWC2_OTG2_REG_BASE, .irqnum = OTG2_IRQn, .ep_count = DWC2_EP_MAX, .ep_fifo_size = OTG2_FIFO_SIZE }
#endif
};

TU_ATTR_ALWAYS_INLINE static inline void dwc2_int_set(uint8_t rhport, tusb_role_t role, bool enabled) {
Expand Down

0 comments on commit 8e3e1f1

Please sign in to comment.