Closed chinglee-iot closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
55094e2
) 93.77% compared to head (e37d43e
) 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
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 8.6 errors
Description
MISRA C 2012 rule 8.6
MISRA violation The following is an example of violation.
xQueueCRSendFromISR
is declared in the header file butconfigUSE_CO_ROUTINES
is not defined to 1. Therefore, no definition forxQueueCRSendFromISR
.Fix in this PR
For example, in the example above use
configUSE_CO_ROUTINES == 1
to ensure that the function is declared only when there is definition.Test Steps
N/A
Checklist:
I have tested my changes. No regression in existing tests.I have modified and/or added unit-tests to cover the code changes in this Pull Request.Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.