From d2a0163da1c06b5cd88a6468044f51fd3db08495 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 26 Feb 2013 21:53:12 +0000 Subject: [PATCH] Add an NSH configuration for the NuTiny-SDK-NUC120. Still does not work git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5678 42af7a65-404d-4744-a932-0658087f49c3 --- nshlib/nsh_fscmds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nshlib/nsh_fscmds.c b/nshlib/nsh_fscmds.c index f47dca896..35d5c81bd 100644 --- a/nshlib/nsh_fscmds.c +++ b/nshlib/nsh_fscmds.c @@ -121,6 +121,7 @@ static char g_iobuffer[IOBUFFERSIZE]; * Name: trim_dir ****************************************************************************/ +#if !defined(CONFIG_NSH_DISABLE_CP) || defined(CONFIG_NSH_FULLPATH) static void trim_dir(char *arg) { /* Skip any trailing '/' characters (unless it is also the leading '/') */ @@ -132,6 +133,7 @@ static void trim_dir(char *arg) len--; } } +#endif /**************************************************************************** * Name: nsh_getdirpath