small fix to allow teardown handling #713

Merged
mohr merged 2 commits from eive/fsfw:mueller/shutdown_for_failed_to_on_transition into development 2022-11-28 14:30:17 +01:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit f05295bada - Show all commits

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();
}