From 9edd6221f8857673d642c986714b89d61df6003c Mon Sep 17 00:00:00 2001 From: Robin Mueller <muellerr@irs.uni-stuttgart.de> Date: Tue, 11 Feb 2025 15:16:27 +0100 Subject: [PATCH] Missing valid flag update in readWithoutLock and commitWithoutLock --- src/fsfw/datapool/PoolVariable.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fsfw/datapool/PoolVariable.h b/src/fsfw/datapool/PoolVariable.h index a6b82174..38bbd9ea 100644 --- a/src/fsfw/datapool/PoolVariable.h +++ b/src/fsfw/datapool/PoolVariable.h @@ -210,6 +210,7 @@ inline ReturnValue_t PoolVariable<T>::readWithoutLock() { } this->value = *(poolEntry->getDataPtr()); + this->valid = poolEntry->getValid(); return returnvalue::OK; } @@ -241,6 +242,7 @@ ReturnValue_t PoolVariable<T>::commitWithoutLock() { } *(poolEntry->getDataPtr()) = this->value; + poolEntry->setValid(this->valid); return returnvalue::OK; }