diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-07 13:42:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-07 13:42:55 +0000 |
commit | 33ebc18c23173530e25b9585010e3411530f4940 (patch) | |
tree | 3168654f7c9ee4ffb5124dd9f0990369c5e79852 /nuttx/examples/nsh/nsh_main.c | |
parent | a5f7cf98731bec3e33558a7805c37463e0d634ae (diff) | |
download | px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.gz px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.bz2 px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.zip |
Add NSH xd command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@892 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_main.c')
-rw-r--r-- | nuttx/examples/nsh/nsh_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c index e58836fcc..68de85285 100644 --- a/nuttx/examples/nsh/nsh_main.c +++ b/nuttx/examples/nsh/nsh_main.c @@ -210,7 +210,8 @@ static const struct cmdmap_s g_cmdmap[] = #ifndef CONFIG_DISABLE_SIGNALS { "usleep", cmd_usleep, 2, 2, "<usec>" }, #endif /* CONFIG_DISABLE_SIGNALS */ - { NULL, NULL, 1, 1, NULL } + { "xd", cmd_xd, 3, 3, "<hex-address> <byte-count>" }, + { NULL, NULL, 1, 1, NULL } }; /**************************************************************************** |