From 47b15bec935b6c4538f9e8c9e21456cf182c61ac Mon Sep 17 00:00:00 2001 From: meggert Date: Mon, 9 Oct 2023 14:03:13 +0200 Subject: [PATCH] not needed as all PL components are set to faulty anyways --- mission/system/EiveSystem.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mission/system/EiveSystem.cpp b/mission/system/EiveSystem.cpp index 7093399e..0df0fc95 100644 --- a/mission/system/EiveSystem.cpp +++ b/mission/system/EiveSystem.cpp @@ -403,17 +403,10 @@ void EiveSystem::pdecRecoveryLogic() { void EiveSystem::forceOffPayload() { CommandMessage msg; - // turn off PL Subsystem - ModeMessage::setModeMessage(&msg, ModeMessage::CMD_MODE_COMMAND_FORCED, HasModesIF::MODE_OFF, - HasModesIF::SUBMODE_NONE); - ReturnValue_t result = commandQueue->sendMessage(plSsQueueId, &msg); - if (result != returnvalue::OK) { - sif::error << "EIVE System: Sending OFF command to PL Subsystem failed" << std::endl; - } // set PL to faulty HealthMessage::setHealthMessage(&msg, HealthMessage::HEALTH_SET, HasHealthIF::FAULTY); - result = commandQueue->sendMessage(plPcduQueueId, &msg); + ReturnValue_t result = commandQueue->sendMessage(plPcduQueueId, &msg); if (result != returnvalue::OK) { sif::error << "EIVE System: Sending FAULTY command to PL PCDU failed" << std::endl; }