convert some debug output into info output
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-10-13 18:52:44 +02:00
parent f939bfc469
commit 470f0ad7e8
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -184,17 +184,13 @@ void SolarArrayDeploymentHandler::handleStateMachine() {
mainLineSwitcher.sendSwitchCommand(mainLineSwitch, PowerSwitchIF::SWITCH_ON);
mainSwitchCountdown.setTimeout(mainLineSwitcher.getSwitchDelayMs());
stateMachine = WAIT_MAIN_POWER_ON;
if (DEBUG_MODE) {
sif::debug << "SA DEPL FSM: MAIN_POWER_ON done -> WAIT_MAIN_POWER_ON" << std::endl;
}
sif::info << "S/A Deployment: Deployment power line on" << std::endl;
}
if (stateMachine == MAIN_POWER_OFF) {
// These should never fail
allOff();
stateMachine = WAIT_MAIN_POWER_OFF;
if (DEBUG_MODE) {
sif::debug << "SA DEPL FSM: MAIN_POWER_OFF done -> WAIT_MAIN_POWER_OFF" << std::endl;
}
sif::info << "S/A Deployment: Deployment power line off" << std::endl;
}
if (stateMachine == WAIT_MAIN_POWER_ON) {
if (checkMainPowerOn()) {
@ -209,6 +205,7 @@ void SolarArrayDeploymentHandler::handleStateMachine() {
if (DEBUG_MODE) {
sif::debug << "SA DEPL FSM: WAIT_MAIN_POWER_OFF done -> FSM DONE" << std::endl;
}
sif::info << "S/A Deployment: FSM done" << std::endl;
finishFsm(returnvalue::OK);
}
}
@ -221,9 +218,7 @@ void SolarArrayDeploymentHandler::handleStateMachine() {
sa1On();
fsmInfo.alternationDummy = true;
}
if (DEBUG_MODE) {
sif::debug << "SA DEPL FSM: SWITCH_DEPL_GPIOS done -> BURNING" << std::endl;
}
sif::info << "S/A Deployment: Burning" << std::endl;
stateMachine = BURNING;
}
if (stateMachine == BURNING) {