From bf91815c3fd4be584af323447605624b33932f63 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 11 Mar 2011 23:35:36 +0000 Subject: Add a stub that can be used when networking is enabled, but there is no ethernet driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3368 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nsh/nsh_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nuttx/examples') diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c index f9a34f0a1..85b84d4b2 100644 --- a/nuttx/examples/nsh/nsh_main.c +++ b/nuttx/examples/nsh/nsh_main.c @@ -494,16 +494,16 @@ static int nsh_execute(FAR struct nsh_vtbl_s *vtbl, int argc, char *argv[]) /* If the command was not found, then try to execute the command from * a list of pre-built applications. - */ + */ #ifdef CONFIG_EXAMPLES_NSH_BUILTIN_APPS if (handler == cmd_unrecognized && nsh_execapp(vtbl, cmd, argv) == OK) { - /* The pre-built application was successfully started -- run OK. - * If not, then fall through to execute the cmd_nrecognized handler. - */ + /* The pre-built application was successfully started -- return OK. + * If not, then fall through to execute the cmd_nrecognized handler. + */ - return OK; + return OK; } #endif -- cgit v1.2.3