diff options
Diffstat (limited to 'nuttx/examples/nsh/nsh_test.c')
-rw-r--r-- | nuttx/examples/nsh/nsh_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nsh/nsh_test.c b/nuttx/examples/nsh/nsh_test.c index 400bfe43c..fb76b473d 100644 --- a/nuttx/examples/nsh/nsh_test.c +++ b/nuttx/examples/nsh/nsh_test.c @@ -70,7 +70,7 @@ #include "nsh.h" -#ifndef CONFIG_EXAMPLES_NSH_DISABLESCRIPT +#if !defined(CONFIG_EXAMPLES_NSH_DISABLESCRIPT) && !defined(CONFIG_EXAMPLES_NSH_DISABLE_TEST) /**************************************************************************** * Definitions @@ -434,4 +434,4 @@ int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } } -#endif /* !CONFIG_EXAMPLES_NSH_DISABLESCRIPT */ +#endif /* !CONFIG_EXAMPLES_NSH_DISABLESCRIPT && !CONFIG_EXAMPLES_NSH_DISABLE_TEST */ |