diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-09 17:34:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-09 17:34:53 +0000 |
commit | 248fef86608d465419947c9f442ecd5d88b60df8 (patch) | |
tree | 4fef4188983666292e6f47cc0833655f349c20f7 /nuttx/sched | |
parent | 9085db20b3c7ce781f807e5570ed5c8dc84a66d7 (diff) | |
download | px4-nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.gz px4-nuttx-248fef86608d465419947c9f442ecd5d88b60df8.tar.bz2 px4-nuttx-248fef86608d465419947c9f442ecd5d88b60df8.zip |
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/Kconfig | 6 | ||||
-rw-r--r-- | nuttx/sched/prctl.c | 6 |
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); |