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:
Xiang Xiao
2020-08-13 22:17:42 +08:00
committed by liuguo09
parent 3edfb4a3ac
commit ecae66fe59
16 changed files with 45 additions and 45 deletions

View File

@@ -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
}