aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-09 17:34:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-09 17:34:53 +0000
commit200ce6d7ff301e68d6b90ac40a22866190b4c80b (patch)
tree4fef4188983666292e6f47cc0833655f349c20f7 /nuttx/sched
parent93683ae1b56bc740d1377e76507162a6f00018ea (diff)
downloadpx4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.tar.gz
px4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.tar.bz2
px4-firmware-200ce6d7ff301e68d6b90ac40a22866190b4c80b.zip
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/Kconfig6
-rw-r--r--nuttx/sched/prctl.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/sched/Kconfig b/nuttx/sched/Kconfig
index 4a3e87745..ab0de5b47 100644
--- a/nuttx/sched/Kconfig
+++ b/nuttx/sched/Kconfig
@@ -57,12 +57,6 @@ config DEV_CONSOLE
Set if architecture-specific logic provides /dev/console. Enables
stdout, stderr, stdin.
-config DEV_LOWCONSOLE
- bool "enable low-level serial console"
- default n
- ---help---
- Use the simple, low-level, write-only serial console driver (minimul support)
-
config MUTEX_TYPES:
bool "Enable mutex types"
default n
diff --git a/nuttx/sched/prctl.c b/nuttx/sched/prctl.c
index d71a0e174..3db83d3d7 100644
--- a/nuttx/sched/prctl.c
+++ b/nuttx/sched/prctl.c
@@ -157,8 +157,14 @@ int prctl(int option, ...)
goto errout;
}
+ /* Not reachable unless CONFIG_TASK_NAME_SIZE is > 0. NOTE: This might
+ * change if additional commands are supported.
+ */
+
+#if CONFIG_TASK_NAME_SIZE > 0
va_end(ap);
return OK;
+#endif
errout:
va_end(ap);