This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user