summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-27 21:27:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-27 21:27:20 +0000
commit75c03c950d2211049c93c1469e014d03f0ee4bc3 (patch)
treec15b2bfbaf3e434818a98b3b25b4f031ca4eeab0 /nuttx/examples
parent0582f98ab57d15e55717a22ba4bba6d961c3395b (diff)
downloadpx4-nuttx-75c03c950d2211049c93c1469e014d03f0ee4bc3.tar.gz
px4-nuttx-75c03c950d2211049c93c1469e014d03f0ee4bc3.tar.bz2
px4-nuttx-75c03c950d2211049c93c1469e014d03f0ee4bc3.zip
Special IDLE for STM32 will execut WFI to sleep until an interrupt occurs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3324 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nsh/nsh_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c
index c27c74174..2483c4919 100644
--- a/nuttx/examples/nsh/nsh_main.c
+++ b/nuttx/examples/nsh/nsh_main.c
@@ -191,7 +191,7 @@ static const struct cmdmap_s g_cmdmap[] =
#ifndef CONFIG_DISABLE_SIGNALS
# ifndef CONFIG_EXAMPLES_NSH_DISABLE_SLEEP
- { "kill", cmd_kill, 3, 3, "kill -<signal> <pid>" },
+ { "kill", cmd_kill, 3, 3, "-<signal> <pid>" },
# endif
#endif