aboutsummaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-02-18 10:19:38 +1100
committerAndrew Tridgell <tridge@samba.org>2013-02-18 10:19:38 +1100
commit1670b8afe13ba6c845800228d1c8829aa1bf31c9 (patch)
tree1dc66cb870de469ff252687d0f209def425d177c /apps/nshlib/nsh.h
parent9b7ee0c91b978ffd897e45366050ce8faf02606f (diff)
downloadpx4-firmware-1670b8afe13ba6c845800228d1c8829aa1bf31c9.tar.gz
px4-firmware-1670b8afe13ba6c845800228d1c8829aa1bf31c9.tar.bz2
px4-firmware-1670b8afe13ba6c845800228d1c8829aa1bf31c9.zip
nshlib: added cmp command to nsh
this is useful for startup scripts testing for auto-upgrade of add-on board firmware
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index 23209dba5..83cf25aa7 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -603,6 +603,9 @@ void nsh_usbtrace(void);
# ifndef CONFIG_NSH_DISABLE_CP
int cmd_cp(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif
+# ifndef CONFIG_NSH_DISABLE_CMP
+ int cmd_cmp(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
+# endif
# ifndef CONFIG_NSH_DISABLE_DD
int cmd_dd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif