summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-18 19:46:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-18 19:46:25 +0000
commit058e81edfdee203f2143b3f0910aa957a7f8da48 (patch)
tree4842491d56251e5499f2838ee303bd752d518e12 /nuttx/include
parent529a1cf7339541eaee3d189a3b97d9c544ba7810 (diff)
downloadpx4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.tar.gz
px4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.tar.bz2
px4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.zip
Move NSH to apps/ as library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/apps/nsh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/include/apps/nsh.h b/nuttx/include/apps/nsh.h
index d8e857841..6977e44bd 100644
--- a/nuttx/include/apps/nsh.h
+++ b/nuttx/include/apps/nsh.h
@@ -46,6 +46,12 @@
* Pre-Processor Definitions
****************************************************************************/
+#if CONFIG_RR_INTERVAL > 0
+# define SCHED_NSH SCHED_RR
+#else
+# define SCHED_NSH SCHED_FIFO
+#endif
+
/****************************************************************************
* Public Data
****************************************************************************/