Merge pull request 'small fix to allow teardown handling' (#713) from eive/fsfw:mueller/shutdown_for_failed_to_on_transition into development
fsfw/fsfw/pipeline/head This commit looks good Details

Reviewed-on: #713
This commit is contained in:
Ulrich Mohr 2022-11-28 14:30:15 +01:00
commit 7ef69c839c
1 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,8 @@ void DeviceHandlerBase::doStateMachine() {
if ((switchState == PowerSwitchIF::SWITCH_ON) || (switchState == NO_SWITCH)) {
// NOTE: TransitionSourceMode and -SubMode are set by handleCommandedModeTransition
childTransitionFailure = CHILD_TIMEOUT;
transitionSourceMode = _MODE_SHUT_DOWN;
transitionSourceSubMode = SUBMODE_NONE;
setMode(_MODE_START_UP);
callChildStatemachine();
}