Merge pull request 'linux hotfix' (#155) from KSat/fsfw:mueller/LinuxHotfix into master

This commit is contained in:
Robin Müller 2020-08-07 22:29:29 +02:00
commit 3905b72b08

View File

@ -29,10 +29,8 @@ ReturnValue_t PeriodicPosixTask::addComponent(object_id_t object,
return HasReturnvaluesIF::RETURN_FAILED; return HasReturnvaluesIF::RETURN_FAILED;
} }
objectList.push_back(newObject); objectList.push_back(newObject);
if(setTaskIF) {
newObject->setTaskIF(this); newObject->setTaskIF(this);
}
return HasReturnvaluesIF::RETURN_OK; return HasReturnvaluesIF::RETURN_OK;
} }