forked from rtlabs-com/p-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ports: Remove side effects from CC_ASSERT calls
Since p-net may be compiled without asserts (e.g. release builds for STM32Cube), it could be the case that expressions with side effects were not evaluated; this would cause incorrect behaviour. While the rt-kernel port does not use CC_ASSERT, it has also been changed in the same manner for consistency.
- Loading branch information
Philip Vedin
committed
Feb 22, 2024
1 parent
6e9ede5
commit 2f0e146
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters