bugfix and a few more tests

This commit is contained in:
muellerr committed 2021-03-11 13:02:10 +01:00
1 parent 33823b445c
commit 9602a3ed6a
3 files changed
+24 -4

No files matched your search

+4
View File
@@ -14,6 +14,10 @@ PoolDataSetBase::~PoolDataSetBase() {}
ReturnValue_t PoolDataSetBase::registerVariable(PoolVariableIF *variable) {
if(registeredVariables == nullptr) {
/* Underlying container invalid */
return HasReturnvaluesIF::RETURN_FAILED;
}
if (state != States::STATE_SET_UNINITIALISED) {
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::error << "DataSet::registerVariable: Call made in wrong position." << std::endl;