Skip to content

Conversation

mathiasgredal
Copy link
Contributor

Fix use of deprecated volatile semantics for C++20

In C++ 20 the use of increments and decrements on volatiles are deprecated, and gives a warning when compiling for the RP2040. This PR fixes this and makes the code a bit easier to read.

Related Issue

#1318

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mathiasgredal mathiasgredal force-pushed the main branch 2 times, most recently from 478fb63 to 691b4a8 Compare September 17, 2025 06:34
Copy link

@tony-josi-aws tony-josi-aws merged commit 3d44975 into FreeRTOS:main Sep 17, 2025
17 checks passed
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.

3 participants