diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-26 21:53:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-26 21:53:12 +0000 |
commit | 3ac081bae886b327cb7b818975edb3d66bd6b945 (patch) | |
tree | ae80af36ae326429683999719b543aa679c9d927 /apps | |
parent | 0824a170e672c91b0b165015925cede117adb7f7 (diff) | |
download | px4-nuttx-3ac081bae886b327cb7b818975edb3d66bd6b945.tar.gz px4-nuttx-3ac081bae886b327cb7b818975edb3d66bd6b945.tar.bz2 px4-nuttx-3ac081bae886b327cb7b818975edb3d66bd6b945.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nshlib/nsh_fscmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c index f47dca896..35d5c81bd 100644 --- a/apps/nshlib/nsh_fscmds.c +++ b/apps/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 |