diff options
Diffstat (limited to 'nuttx/sched/task_create.c')
-rw-r--r-- | nuttx/sched/task_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_create.c b/nuttx/sched/task_create.c index ee0e86c6e..96df1ae60 100644 --- a/nuttx/sched/task_create.c +++ b/nuttx/sched/task_create.c @@ -130,7 +130,7 @@ int task_create(const char *name, int priority, /* Associate file descriptors with the new task */ -#if CONFIG_NFILE_DESCRIPTORS > 0 +#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0 if (sched_setuptaskfiles(tcb) != OK) { sched_releasetcb(tcb); |