mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 17:32:09 +08:00
Replace all CONFIG_NFILE_STREAMS with CONFIG_FILE_STREAM
follow up the kernel side change Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ic27ad65d7cc2ea570921e0c17098dcb6bfe1893a
This commit is contained in:
@@ -199,7 +199,7 @@ int nsh_session(FAR struct console_stdio_s *pstate,
|
||||
}
|
||||
else if (strcmp(argv[1], "-c") != 0)
|
||||
{
|
||||
#if defined(CONFIG_NFILE_STREAMS) && !defined(CONFIG_NSH_DISABLESCRIPT)
|
||||
#if defined(CONFIG_FILE_STREAM) && !defined(CONFIG_NSH_DISABLESCRIPT)
|
||||
/* Execute the shell script */
|
||||
|
||||
ret = nsh_script(vtbl, argv[0], argv[1]);
|
||||
@@ -210,7 +210,7 @@ int nsh_session(FAR struct console_stdio_s *pstate,
|
||||
/* Parse process the command */
|
||||
|
||||
ret = nsh_parse(vtbl, argv[2]);
|
||||
#ifdef CONFIG_NFILE_STREAMS
|
||||
#ifdef CONFIG_FILE_STREAM
|
||||
fflush(pstate->cn_outstream);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user