mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
nsh: fix compile break about closing CONFIG_NSH_DISABLESCRIPT
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
@@ -77,7 +77,7 @@ int nsh_consolemain(int argc, FAR char *argv[])
|
|||||||
usbtrace_enable(TRACE_BITSET);
|
usbtrace_enable(TRACE_BITSET);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NSH_ROMFSETC
|
#if defined(CONFIG_NSH_ROMFSETC) && !defined(CONFIG_NSH_DISABLESCRIPT)
|
||||||
/* Execute the start-up script */
|
/* Execute the start-up script */
|
||||||
|
|
||||||
nsh_initscript(&pstate->cn_vtbl);
|
nsh_initscript(&pstate->cn_vtbl);
|
||||||
|
Reference in New Issue
Block a user