diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c index 2797874af..9882099a2 100644 --- a/nshlib/nsh_syscmds.c +++ b/nshlib/nsh_syscmds.c @@ -615,6 +615,7 @@ int cmd_rptun(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) nsh_output(vtbl, " rptun " "\n"); nsh_output(vtbl, " rptun \n"); +#ifdef CONFIG_RPTUN_PING nsh_output(vtbl, " rptun ping " "\n\n"); nsh_output(vtbl, " Rptun device path.\n"); @@ -626,6 +627,7 @@ int cmd_rptun(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) nsh_output(vtbl, " 1 - Acknowledge, no data check.\n"); nsh_output(vtbl, " 2 - Acknowledge and data check.\n"); nsh_output(vtbl, " ping period (ms) \n\n"); +#endif return OK; }