WIP: somethings wrong.. #19
@ -34,9 +34,9 @@ FixedTimeslotTaskIF* TaskFactory::createFixedTimeslotTask(TaskName name_,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t TaskFactory::deleteTask(PeriodicTaskIF* task) {
|
ReturnValue_t TaskFactory::deleteTask(PeriodicTaskIF* task) {
|
||||||
if (task == NULL) {
|
if (task == nullptr) {
|
||||||
//delete self
|
//delete self
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(nullptr);
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
} else {
|
} else {
|
||||||
//TODO not implemented
|
//TODO not implemented
|
||||||
|
Loading…
Reference in New Issue
Block a user