task if set now

This commit is contained in:
Robin Müller 2020-12-05 17:10:36 +01:00
parent 248ceebf81
commit 89e80beb62

View File

@ -122,6 +122,7 @@ ReturnValue_t PeriodicTask::addComponent(object_id_t object) {
if (newObject == nullptr) {
return HasReturnvaluesIF::RETURN_FAILED;
}
newObject->setTaskIF(this);
objectList.push_back(newObject);
return HasReturnvaluesIF::RETURN_OK;
}