Reduce SUS FDIR Events #806
@ -120,6 +120,7 @@ ReturnValue_t SusHandler::interpretDeviceReply(DeviceCommandId_t id, const uint8
|
|||||||
if (invalidMsgCountdown.hasTimedOut() and invalidMsgPeriodCounter > 0) {
|
if (invalidMsgCountdown.hasTimedOut() and invalidMsgPeriodCounter > 0) {
|
||||||
triggerEvent(TEMPERATURE_ALL_ONES_RECOVERY, invalidMsgPeriodCounter, invalidMsgCounterMax);
|
triggerEvent(TEMPERATURE_ALL_ONES_RECOVERY, invalidMsgPeriodCounter, invalidMsgCounterMax);
|
||||||
invalidMsgPeriodCounter = 0;
|
invalidMsgPeriodCounter = 0;
|
||||||
|
invalidMsgCounterMax = 0;
|
||||||
}
|
}
|
||||||
dataset.setValidity(true, true);
|
dataset.setValidity(true, true);
|
||||||
dataset.tempC = max1227::getTemperature(reply->tempRaw);
|
dataset.tempC = max1227::getTemperature(reply->tempRaw);
|
||||||
|
Loading…
Reference in New Issue
Block a user