enable dataset to be called by non-owner

This commit is contained in:
Marius Eggert 2023-09-29 10:29:52 +02:00
parent 69f5529ade
commit 9f8e7b6673

View File

@ -39,6 +39,7 @@ class CoreHk : public StaticLocalDataSet<CORE_HK_ENTRIES> {
class EnablePl : public StaticLocalDataSet<ENABLE_PL_ENTRIES> { class EnablePl : public StaticLocalDataSet<ENABLE_PL_ENTRIES> {
public: public:
EnablePl(HasLocalDataPoolIF* hkOwner) : StaticLocalDataSet(hkOwner, ENABLE_PL) {} EnablePl(HasLocalDataPoolIF* hkOwner) : StaticLocalDataSet(hkOwner, ENABLE_PL) {}
EnablePl(object_id_t objectId) : StaticLocalDataSet(sid_t(objectId, ENABLE_PL)) {}
lp_var_t<uint8_t> plUseAllowed = lp_var_t<uint8_t>(sid.objectId, PAYLOAD_FLAG, this); lp_var_t<uint8_t> plUseAllowed = lp_var_t<uint8_t>(sid.objectId, PAYLOAD_FLAG, this);