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::readWithoutLock() { } this->value = *(poolEntry->getDataPtr()); + this->valid = poolEntry->getValid(); return returnvalue::OK; } @@ -241,6 +242,7 @@ ReturnValue_t PoolVariable::commitWithoutLock() { } *(poolEntry->getDataPtr()) = this->value; + poolEntry->setValid(this->valid); return returnvalue::OK; }