mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 21:41:18 +08:00
New LIS331DL driver and VSN updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3457 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <apps/apps.h>
|
||||
|
||||
@@ -98,7 +99,8 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
{
|
||||
int err = -errno;
|
||||
int i;
|
||||
|
||||
|
||||
#ifndef CONFIG_APPS_BINDIR
|
||||
/* On failure, list the set of available built-in commands */
|
||||
|
||||
nsh_output(vtbl, "Builtin Apps: ");
|
||||
@@ -116,6 +118,9 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
}
|
||||
|
||||
return OK;
|
||||
#else
|
||||
return err;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SCHED_WAITPID
|
||||
|
Reference in New Issue
Block a user