aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/task_init.c
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-01-25 19:29:29 -0800
committerpx4dev <px4@purgatory.org>2013-01-25 19:29:29 -0800
commit24f6c6b121ea87b26a2c5cac933089be496a28b6 (patch)
treec3b8fdab88b12c72197348873caa03d22eb46b60 /nuttx/sched/task_init.c
parent0bc836ae1d90b1805940ec8ae271639f0074a792 (diff)
parentbeb45222985f1eb9fbe21b22b95c30ab8ca5bbac (diff)
downloadpx4-firmware-24f6c6b121ea87b26a2c5cac933089be496a28b6.tar.gz
px4-firmware-24f6c6b121ea87b26a2c5cac933089be496a28b6.tar.bz2
px4-firmware-24f6c6b121ea87b26a2c5cac933089be496a28b6.zip
Merge branch 'master' into px4io-i2c
Diffstat (limited to 'nuttx/sched/task_init.c')
-rw-r--r--nuttx/sched/task_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/task_init.c b/nuttx/sched/task_init.c
index 31fc5ef70..0f0fdc68e 100644
--- a/nuttx/sched/task_init.c
+++ b/nuttx/sched/task_init.c
@@ -141,7 +141,8 @@ int task_init(FAR _TCB *tcb, const char *name, int priority,
/* Initialize the task control block */
- ret = task_schedsetup(tcb, priority, task_start, entry);
+ ret = task_schedsetup(tcb, priority, task_start, entry,
+ TCB_FLAG_TTYPE_TASK);
if (ret == OK)
{
/* Setup to pass parameters to the new task */