diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 23:49:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 23:49:02 +0000 |
commit | 46d5183722a1aac256357f1a054575c6d5ab9a9f (patch) | |
tree | 59eb55cb25bbd20b052a87de5838d80a410a1439 /nuttx/sched/task_init.c | |
parent | 75f185244fbd0892fdb26443eda666ce21c417ec (diff) | |
download | px4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.tar.gz px4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.tar.bz2 px4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.zip |
Move socket data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_init.c')
-rw-r--r-- | nuttx/sched/task_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_init.c b/nuttx/sched/task_init.c index 8dfd8b7f6..78f35bc2a 100644 --- a/nuttx/sched/task_init.c +++ b/nuttx/sched/task_init.c @@ -137,7 +137,7 @@ int task_init(FAR _TCB *tcb, const char *name, int priority, /* Associate file descriptors with the new task */ #if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0 - ret = sched_setuptaskfiles(tcb); + ret = group_setuptaskfiles(tcb); if (ret < 0) { errcode = -ret; |