another small bugfix
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
parent
5a1b2470f0
commit
0337104173
@ -102,9 +102,8 @@ ReturnValue_t SusHandler::interpretDeviceReply(DeviceCommandId_t id, const uint8
|
|||||||
} else if (invalidMsgCounter == susMax1227::MAX_INVALID_MSG_COUNT) {
|
} else if (invalidMsgCounter == susMax1227::MAX_INVALID_MSG_COUNT) {
|
||||||
triggerEvent(DeviceHandlerIF::DEVICE_WANTS_HARD_REBOOT);
|
triggerEvent(DeviceHandlerIF::DEVICE_WANTS_HARD_REBOOT);
|
||||||
waitingForRecovery = true;
|
waitingForRecovery = true;
|
||||||
} else {
|
|
||||||
invalidMsgCounter++;
|
|
||||||
}
|
}
|
||||||
|
invalidMsgCounter++;
|
||||||
dataset.setValidity(false, true);
|
dataset.setValidity(false, true);
|
||||||
dataset.tempC = thermal::INVALID_TEMPERATURE;
|
dataset.tempC = thermal::INVALID_TEMPERATURE;
|
||||||
std::memset(dataset.channels.value, 0, sizeof(dataset.channels.value));
|
std::memset(dataset.channels.value, 0, sizeof(dataset.channels.value));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user