task if is set now
This commit is contained in:
parent
c8f4bdd09a
commit
bb11bc5685
@ -122,6 +122,7 @@ ReturnValue_t PeriodicTask::addComponent(object_id_t object) {
|
|||||||
if (newObject == nullptr) {
|
if (newObject == nullptr) {
|
||||||
return HasReturnvaluesIF::RETURN_FAILED;
|
return HasReturnvaluesIF::RETURN_FAILED;
|
||||||
}
|
}
|
||||||
|
newObject->setTaskIF(this);
|
||||||
objectList.push_back(newObject);
|
objectList.push_back(newObject);
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user