mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps: add variable to identify main shell
Change-Id: Ifecfbb58b3c2cdbeae900eb2eeb2b641155a7580 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
|
||||
int nsh_consolemain(int argc, FAR char *argv[])
|
||||
{
|
||||
FAR struct console_stdio_s *pstate = nsh_newconsole();
|
||||
FAR struct console_stdio_s *pstate = nsh_newconsole(true);
|
||||
int ret;
|
||||
|
||||
DEBUGASSERT(pstate != NULL);
|
||||
|
Reference in New Issue
Block a user