the TCS subsystem does not work on the EM..
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2023-07-06 16:00:39 +02:00
parent ee4285075a
commit b7e4953126
11 changed files with 55 additions and 18 deletions

View File

@ -15,6 +15,7 @@ Tmp1075Handler::~Tmp1075Handler() {}
void Tmp1075Handler::doStartUp() { setMode(MODE_ON); }
void Tmp1075Handler::doShutDown() {
sif::debug << "TMP1075: Going off" << std::endl;
communicationStep = CommunicationStep::START_ADC_CONVERSION;
PoolReadGuard pg(&dataset);
dataset.setValidity(false, true);
@ -140,5 +141,9 @@ ReturnValue_t Tmp1075Handler::setHealth(HealthState health) {
health != EXTERNAL_CONTROL) {
return returnvalue::FAILED;
}
return returnvalue::OK;
// Required because we do not have an assembly.
if (health == FAULTY) {
setMode(_MODE_SHUT_DOWN);
}
return DeviceHandlerBase::setHealth(health);
}