comment
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
2023-06-13 07:55:00 +02:00
parent 5e79293d38
commit b2b6e2e797
11 changed files with 12 additions and 9 deletions

View File

@ -95,6 +95,8 @@ ReturnValue_t SusHandler::interpretDeviceReply(DeviceCommandId_t id, const uint8
// UPDATE: Step1: First determine how often and whether this happens at all
if (reply->tempRaw == 0xfff) {
// Prevent spam if a device is glitchy for prolonged periods by only triggering with a
// maximum interval.
if (faultyDataEventCd.hasTimedOut()) {
triggerEvent(TEMPERATURE_IS_ALL_ONES);
faultyDataEventCd.resetTimer();