diff --git a/mission/acs/SusHandler.cpp b/mission/acs/SusHandler.cpp index f61dc3a0..4b9778e5 100644 --- a/mission/acs/SusHandler.cpp +++ b/mission/acs/SusHandler.cpp @@ -102,9 +102,8 @@ ReturnValue_t SusHandler::interpretDeviceReply(DeviceCommandId_t id, const uint8 } else if (invalidMsgCounter == susMax1227::MAX_INVALID_MSG_COUNT) { triggerEvent(DeviceHandlerIF::DEVICE_WANTS_HARD_REBOOT); waitingForRecovery = true; - } else { - invalidMsgCounter++; } + invalidMsgCounter++; dataset.setValidity(false, true); dataset.tempC = thermal::INVALID_TEMPERATURE; std::memset(dataset.channels.value, 0, sizeof(dataset.channels.value));