Closed kar-rahul-aws closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
d1a0202
) 93.77% compared to head (42c7b1b
) 93.77%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Fix MISRA C 2012 rule 13.2 violation
Description
Misra Rule 13.2
MISRA violation MISRA states that there shall be no more than one read access with volatile-qualified type within one sequence point. The justification for the rule is: If more than one volatile-qualified variable is read between sequence points, then it is unspecified which is read first. Reading a volatile variable is a side effect.
Fix The solution is to explicitly order the reads, using a new set of static variables.
Test Steps
N/A.
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.