Posix tasks: Mark task creation

This commit is contained in:
Lorenz Meier 2015-07-05 13:45:42 +02:00
parent 8c5d99484e
commit 7b8f7f7ac4
1 changed files with 2 additions and 0 deletions

View File

@ -142,6 +142,8 @@ px4_task_t px4_task_spawn_cmd(const char *name, int scheduler, int priority, int
// Must add NULL at end of argv
taskdata->argv[argc] = (char *)0;
PX4_WARN("starting task %s", name);
rv = pthread_attr_init(&attr);
if (rv != 0) {
PX4_WARN("px4_task_spawn_cmd: failed to init thread attrs");