enable misra-c2012-14.2 (#1815)

* enable misra-c2012-14.2 (#1805)

* true

* while

---------

Co-authored-by: Ruben Medina <samrum@gmail.com>
This commit is contained in:
Adeeb Shihadeh
2024-01-16 15:49:04 -08:00
committed by GitHub
parent 6334ded34a
commit bc6eaf358e
2 changed files with 2 additions and 3 deletions

View File

@@ -385,8 +385,8 @@ int main(void) {
// LED should keep on blinking all the time
uint64_t cnt = 0;
for (cnt=0;;cnt++) {
while (true) {
cnt++;
if (power_save_status == POWER_SAVE_STATUS_DISABLED) {
#ifdef DEBUG_FAULTS
if (fault_status == FAULT_STATUS_NONE) {

View File

@@ -36,7 +36,6 @@ misra-c2012-10.3
misra-c2012-10.5
misra-c2012-10.7
misra-c2012-12.2
misra-c2012-14.2
misra-c2012-17.3
misra-c2012-21.1
misra-c2012-21.2