clear active action cmds on OFF mode
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-11-21 16:49:37 +01:00
parent 19594bc173
commit b1ddf1d4fd

View File

@ -522,6 +522,7 @@ void FreshSupvHandler::handleTransitionToOff() {
hkSet.setReportingEnabled(false);
hkSet.setValidity(false, true);
uartManager->stop();
activeActionCmds.clear();
uartIsolatorSwitch.pullLow();
switchIF.sendSwitchCommand(switchId, PowerSwitchIF::SWITCH_OFF);
shutdownState = ShutdownState::POWER_SWITCHING;