From 9f8e7b6673db1618fcff669123036205d2dd5120 Mon Sep 17 00:00:00 2001 From: meggert Date: Fri, 29 Sep 2023 10:29:52 +0200 Subject: [PATCH] enable dataset to be called by non-owner --- mission/controller/controllerdefinitions/PowerCtrlDefinitions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mission/controller/controllerdefinitions/PowerCtrlDefinitions.h b/mission/controller/controllerdefinitions/PowerCtrlDefinitions.h index ff090e5b..1b378cd0 100644 --- a/mission/controller/controllerdefinitions/PowerCtrlDefinitions.h +++ b/mission/controller/controllerdefinitions/PowerCtrlDefinitions.h @@ -39,6 +39,7 @@ class CoreHk : public StaticLocalDataSet { class EnablePl : public StaticLocalDataSet { public: EnablePl(HasLocalDataPoolIF* hkOwner) : StaticLocalDataSet(hkOwner, ENABLE_PL) {} + EnablePl(object_id_t objectId) : StaticLocalDataSet(sid_t(objectId, ENABLE_PL)) {} lp_var_t plUseAllowed = lp_var_t(sid.objectId, PAYLOAD_FLAG, this);