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

Fix MISRA_C_2012 rule 7.2 violation #842

Merged
merged 8 commits into from
Dec 6, 2023
2 changes: 1 addition & 1 deletion include/stack_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
#define taskCHECK_FOR_STACK_OVERFLOW() \
do { \
const uint32_t * const pulStack = ( uint32_t * ) pxCurrentTCB->pxStack; \
const uint32_t ulCheckValue = ( uint32_t ) 0xa5a5a5a5; \
const uint32_t ulCheckValue = ( uint32_t ) 0xa5a5a5a5u; \
kar-rahul-aws marked this conversation as resolved.
Show resolved Hide resolved
\
if( ( pulStack[ 0 ] != ulCheckValue ) || \
( pulStack[ 1 ] != ulCheckValue ) || \
Expand Down
Loading