clean up code structure a bit
This commit is contained in:
parent
01081cbb29
commit
ae0413f7f6
@ -644,7 +644,7 @@ ReturnValue_t GomspaceDeviceHandler::parsePduHkTable(PDU::PduCoreHk& coreHk, PDU
|
|||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t GomspaceDeviceHandler::setHealth(HealthState health) {
|
ReturnValue_t GomspaceDeviceHandler::setHealth(HealthState health) {
|
||||||
if(health != HealthState::HEALTHY and health != HealthState::EXTERNAL_CONTROL and
|
if (health != HealthState::HEALTHY and health != HealthState::EXTERNAL_CONTROL and
|
||||||
health != HealthState::NEEDS_RECOVERY) {
|
health != HealthState::NEEDS_RECOVERY) {
|
||||||
return returnvalue::FAILED;
|
return returnvalue::FAILED;
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,5 @@ target_sources(
|
|||||||
SusAssembly.cpp
|
SusAssembly.cpp
|
||||||
AcsBoardFdir.cpp
|
AcsBoardFdir.cpp
|
||||||
acsModeTree.cpp
|
acsModeTree.cpp
|
||||||
SusFdir.cpp)
|
SusFdir.cpp
|
||||||
|
StrFdir.cpp)
|
||||||
|
@ -1,2 +1 @@
|
|||||||
target_sources(${LIB_EIVE_MISSION} PRIVATE RtdFdir.cpp StrFdir.cpp
|
target_sources(${LIB_EIVE_MISSION} PRIVATE RtdFdir.cpp)
|
||||||
GomspacePowerFdir.cpp)
|
|
||||||
|
2
mission/system/power/CMakeLists.txt
Normal file
2
mission/system/power/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
target_sources(${LIB_EIVE_MISSION} PRIVATE RtdFdir.cpp StrFdir.cpp
|
||||||
|
GomspacePowerFdir.cpp)
|
@ -134,7 +134,7 @@ ReturnValue_t Tmp1075Handler::initializeLocalDataPool(localpool::DataPool &local
|
|||||||
void Tmp1075Handler::setModeNormal() { setMode(_MODE_TO_NORMAL); }
|
void Tmp1075Handler::setModeNormal() { setMode(_MODE_TO_NORMAL); }
|
||||||
|
|
||||||
ReturnValue_t Tmp1075Handler::setHealth(HealthState health) {
|
ReturnValue_t Tmp1075Handler::setHealth(HealthState health) {
|
||||||
if(health != FAULTY and health != PERMANENT_FAULTY and health != HEALTHY and
|
if (health != FAULTY and health != PERMANENT_FAULTY and health != HEALTHY and
|
||||||
health != EXTERNAL_CONTROL) {
|
health != EXTERNAL_CONTROL) {
|
||||||
return returnvalue::FAILED;
|
return returnvalue::FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user