mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +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:
@@ -79,7 +79,7 @@
|
||||
|
||||
/* Are we using the NuttX console for I/O? Or some other character device? */
|
||||
|
||||
#if CONFIG_NFILE_STREAMS > 0
|
||||
#ifdef CONFIG_FILE_STREAM
|
||||
# ifdef CONFIG_NSH_ALTCONDEV
|
||||
|
||||
# if !defined(CONFIG_NSH_ALTSTDIN) && !defined(CONFIG_NSH_ALTSTDOUT) && \
|
||||
@@ -157,7 +157,7 @@ struct console_stdio_s
|
||||
|
||||
/* NSH input/output streams */
|
||||
|
||||
#if CONFIG_NFILE_STREAMS > 0
|
||||
#ifdef CONFIG_FILE_STREAM
|
||||
#ifdef CONFIG_NSH_ALTCONDEV
|
||||
int cn_confd; /* Console I/O file descriptor */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user