From b000f77f4b6b26e16a943d1f6f7d542ec18680fb Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 12 Dec 2023 17:55:09 +0100 Subject: [PATCH 1/2] smaller PLOC tweaks --- linux/payload/FreshSupvHandler.cpp | 2 +- linux/payload/PlocSupvUartMan.cpp | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/linux/payload/FreshSupvHandler.cpp b/linux/payload/FreshSupvHandler.cpp index 0d34b63f..88a68635 100644 --- a/linux/payload/FreshSupvHandler.cpp +++ b/linux/payload/FreshSupvHandler.cpp @@ -1115,7 +1115,7 @@ void FreshSupvHandler::handleEvent(EventMessage* eventMessage) { if (not isCommandAlreadyActive(supv::SHUTDOWN_MPSOC)) { CommandMessage actionMsg; ActionMessage::setCommand(&actionMsg, supv::SHUTDOWN_MPSOC, store_address_t::invalid()); - result = messageQueue->sendMessage(getCommandQueue(), &actionMsg); + result = messageQueue->sendMessageFrom(getCommandQueue(), &actionMsg, MessageQueueIF::NO_QUEUE); if (result != returnvalue::OK) { triggerEvent(supv::SUPV_MPSOC_SHUTDOWN_BUILD_FAILED); sif::warning << "PlocSupervisorHandler::handleEvent: Failed to build MPSoC shutdown " diff --git a/linux/payload/PlocSupvUartMan.cpp b/linux/payload/PlocSupvUartMan.cpp index f73ca560..56bb3dd5 100644 --- a/linux/payload/PlocSupvUartMan.cpp +++ b/linux/payload/PlocSupvUartMan.cpp @@ -945,15 +945,7 @@ ReturnValue_t PlocSupvUartManager::handleRunningLongerRequest() { break; } case Request::REQUEST_EVENT_BUFFER: { - // result = performEventBufferRequest(); - // if (result == returnvalue::OK) { - // triggerEvent(SUPV_EVENT_BUFFER_REQUEST_SUCCESSFUL, result); - // } else if (result == PROCESS_TERMINATED) { - // // Event already triggered - // break; - // } else { - // triggerEvent(SUPV_EVENT_BUFFER_REQUEST_FAILED, result); - // } + sif::error << "Requesting event buffer is not implemented" << std::endl; break; } case Request::DEFAULT: { From c4d02038460f06b3d48b052037ea958fcc55f507 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 29 Jan 2024 10:39:50 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03fd90ee..16b335c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ will consitute of a breaking change warranting a new major release: # [unreleased] +## Fixed + +- All action commands sent by the PLOC SUPV to itself will have no sender now. + # [v7.5.1] 2023-12-13 - `eive-tmtc` v5.12.1