]> begriffs open source - freertos/commit
Fix MISRA_C_2012 rule 13.2 violation (#855)
authorRahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Thu, 7 Dec 2023 06:45:09 +0000 (12:15 +0530)
committerGitHub <noreply@github.com>
Thu, 7 Dec 2023 06:45:09 +0000 (12:15 +0530)
commit55094e2ddf4006f03492bcb3ca82efc6954fb071
tree8e44c56645810b0bb588b617ba812393b5bb66cb
parentd1a02021251e3cddcaf60a26bdb5c04c77500704
Fix MISRA_C_2012 rule 13.2 violation (#855)

* Assign volatile variables to local non-volatile variables before read

* Fix stack macro overflow check volatile access

* Explicit the read order of volatile variable

* Fix issue : ISO C90 forbids mixed declarations and code

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-34-245.ap-northeast-1.compute.internal>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Monika Singh <moninom@amazon.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
include/stack_macros.h
tasks.c