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
This commit is contained in:
parent
888c3d1618
commit
d2a0163da1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user