missing state check
Some checks are pending
EIVE/eive-obsw/pipeline/pr-develop Build started...

This commit is contained in:
Robin Müller 2023-04-03 15:27:06 +02:00
parent c4f62842ab
commit 8585114041
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ ReturnValue_t ImtqHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
}
ReturnValue_t ImtqHandler::buildTransitionDeviceCommand(DeviceCommandId_t* id) {
if (internalState == InternalState::STARTUP) {
if (internalState == InternalState::STARTUP or internalState == InternalState::SHUTDOWN) {
*id = imtq::cmdIds::REQUEST;
return buildCommandFromCommand(*id, nullptr, 0);
}

View File

@ -129,7 +129,7 @@ void ThermalController::performControlOperation() {
hpaLimits.opUpperLimit = 0;
hpaLimits.nopUpperLimit = 0;
#endif
if(changedLimits) {
if (changedLimits) {
sif::debug << "ThermalController: changing limits" << std::endl; // TODO: rausschmeissen
}
}