Skip to content

Fix compiler warning from useless volatile #613

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

henrygab
Copy link
Contributor

"Cast to integral type ignores qualifier volatile"

Attempting to cast to a volatile uint32_t does nothing different from cast to a uint32_t,
with the exception of looking like it's doing something different.

Just remove the volatile qualifier to fix.

See also adafruit#288

"Cast to integral type ignores qualifier volatile"

Attempting to cast to a `volatile uint32_t` does nothing different from cast to a `uint32_t`,
with the exception of looking like it's doing something different.

Just remove the `volatile` qualifier to fix.

See also adafruit#288
@facchinm facchinm merged commit af726a7 into arduino:master Apr 6, 2021
@henrygab henrygab deleted the patch-4 branch April 8, 2021 23:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants