mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications
This commit is contained in:
@@ -401,7 +401,7 @@ static int expression(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
return value;
|
||||
|
||||
errout_syntax:
|
||||
nsh_output(vtbl, g_nshsyntax, "test");
|
||||
nsh_output(vtbl, g_fmtsyntax, "test");
|
||||
return TEST_FALSE;
|
||||
}
|
||||
|
||||
@@ -426,7 +426,7 @@ int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
{
|
||||
if (strcmp(argv[argc-1], "]") != 0)
|
||||
{
|
||||
nsh_output(vtbl, g_nshsyntax, argv[0]);
|
||||
nsh_output(vtbl, g_fmtsyntax, argv[0]);
|
||||
return ERROR;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user