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

dwc2: fix iar warnings #1847

Merged
merged 1 commit into from
Jan 18, 2023
Merged

dwc2: fix iar warnings #1847

merged 1 commit into from
Jan 18, 2023

Conversation

HiFiPhile
Copy link
Collaborator

Describe the PR
Fix:
Warning[Pe188]: enumerated type mixed with another type dwc2_stm32.h 125
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement dcd_dwc2.c 532
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement dcd_dwc2.c 1221

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. IAR seems to be even more picky than gcc

@hathach hathach merged commit ea098ae into hathach:master Jan 18, 2023
@HiFiPhile HiFiPhile deleted the dwc2_iar branch April 1, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants