Error handling on system boot #30

Merged
localhorst merged 22 commits from feature/error-handling into main 2026-05-10 12:39:47 +02:00
Showing only changes of commit 40f757b7d1 - Show all commits
+1 -2
View File
@@ -105,6 +105,7 @@ void checkSensorSanity(void)
}
else
{
sanityChecks[i].uUnchangedCounter = 0U;
sanityChecks[i].fSensorTemperatureLast = sCurrentMeasurement.fCurrentValue;
if (sCurrentMeasurement.fCurrentValue > sanityChecks[i].sSensorLimit.max)
@@ -121,12 +122,10 @@ void checkSensorSanity(void)
}
else
{
sanityChecks[i].uUnchangedCounter = 0U;
sanityChecks[i].state = SENSOR_NO_ERROR;
}
}
}
// printf(" state: %u\n", sanityChecks[i].state);
}
}