From e9ad8d956ac9c4eddb8902bbdc94db1a70cece03 Mon Sep 17 00:00:00 2001 From: meggert Date: Mon, 9 Oct 2023 09:33:37 +0200 Subject: [PATCH] i need a vacation ... --- linux/payload/PlocMpsocHandler.cpp | 2 +- linux/payload/PlocSupervisorHandler.cpp | 2 +- mission/payload/PayloadPcduHandler.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/payload/PlocMpsocHandler.cpp b/linux/payload/PlocMpsocHandler.cpp index d4c663e6..66fba6d8 100644 --- a/linux/payload/PlocMpsocHandler.cpp +++ b/linux/payload/PlocMpsocHandler.cpp @@ -1512,7 +1512,7 @@ ReturnValue_t PlocMpsocHandler::checkModeCommand(Mode_t commandedMode, Submode_t PoolReadGuard pg(&enablePl); if (pg.getReadResult() == returnvalue::OK) { if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) { - return NON_OP_SOC; + return NON_OP_STATE_OF_CHARGE; } } } diff --git a/linux/payload/PlocSupervisorHandler.cpp b/linux/payload/PlocSupervisorHandler.cpp index 648ea74c..0c6311de 100644 --- a/linux/payload/PlocSupervisorHandler.cpp +++ b/linux/payload/PlocSupervisorHandler.cpp @@ -2000,7 +2000,7 @@ ReturnValue_t PlocSupervisorHandler::checkModeCommand(Mode_t commandedMode, PoolReadGuard pg(&enablePl); if (pg.getReadResult() == returnvalue::OK) { if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) { - return NON_OP_SOC; + return NON_OP_STATE_OF_CHARGE; } } } diff --git a/mission/payload/PayloadPcduHandler.cpp b/mission/payload/PayloadPcduHandler.cpp index 1a2b35ff..bda15b20 100644 --- a/mission/payload/PayloadPcduHandler.cpp +++ b/mission/payload/PayloadPcduHandler.cpp @@ -570,7 +570,7 @@ ReturnValue_t PayloadPcduHandler::checkModeCommand(Mode_t commandedMode, Submode PoolReadGuard pg(&enablePl); if (pg.getReadResult() == returnvalue::OK) { if (enablePl.plUseAllowed.isValid() and not enablePl.plUseAllowed.value) { - return NON_OP_SOC; + return NON_OP_STATE_OF_CHARGE; } } }