diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-18 19:46:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-18 19:46:25 +0000 |
commit | 058e81edfdee203f2143b3f0910aa957a7f8da48 (patch) | |
tree | 4842491d56251e5499f2838ee303bd752d518e12 /nuttx/include/apps | |
parent | 529a1cf7339541eaee3d189a3b97d9c544ba7810 (diff) | |
download | px4-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/apps')
-rw-r--r-- | nuttx/include/apps/nsh.h | 6 |
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 ****************************************************************************/ |