use stack handler in rad sensor handler as well
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
9aedc32527
commit
c2d2848020
@ -41,7 +41,14 @@ void RadiationSensorHandler::doStartUp() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadiationSensorHandler::doShutDown() { setMode(_MODE_POWER_DOWN); }
|
void RadiationSensorHandler::doShutDown() {
|
||||||
|
ReturnValue_t retval = stackHandler.deviceToOff(StackCommander::RAD_SENSOR);
|
||||||
|
if (retval == BUSY) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
internalState = InternalState::OFF;
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
|
}
|
||||||
|
|
||||||
ReturnValue_t RadiationSensorHandler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
ReturnValue_t RadiationSensorHandler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
||||||
switch (communicationStep) {
|
switch (communicationStep) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user