set swither set entries valid
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2022-12-22 16:18:30 +01:00
parent c1b95e8bbd
commit 55ecb34665
3 changed files with 9 additions and 4 deletions

View File

@ -38,7 +38,7 @@ void PayloadPcduHandler::doStartUp() {
if (retval == BUSY) {
return;
}
state == States::STACK_5V_PENDING;
state = States::STACK_5V_PENDING;
}
if (state == States::STACK_5V_PENDING) {
if (stackHandler.isSwitchOn()) {
@ -66,11 +66,11 @@ void PayloadPcduHandler::doShutDown() {
if (retval == BUSY) {
return;
}
state == States::STACK_5V_PENDING;
state = States::STACK_5V_PENDING;
}
if (state == States::STACK_5V_PENDING) {
if (not stackHandler.isSwitchOn()) {
state == States::STACK_5V_CORRECT;
state = States::STACK_5V_CORRECT;
}
}
if (state == States::STACK_5V_CORRECT) {