diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-13 19:33:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-13 19:33:47 +0000 |
commit | 5cd2e68663850ca8bc2cbb40dd1678ab44dbca8b (patch) | |
tree | 06a526497f1ddad4705ae243302fde5191ca0a72 /apps/nshlib/nsh_consolemain.c | |
parent | 5374c08d49eaec2d871030d96d9a31c8f59ef029 (diff) | |
download | nuttx-5cd2e68663850ca8bc2cbb40dd1678ab44dbca8b.tar.gz nuttx-5cd2e68663850ca8bc2cbb40dd1678ab44dbca8b.tar.bz2 nuttx-5cd2e68663850ca8bc2cbb40dd1678ab44dbca8b.zip |
Changes needed for clean ez80 compile with ZDS toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5147 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_consolemain.c')
-rw-r--r-- | apps/nshlib/nsh_consolemain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_consolemain.c b/apps/nshlib/nsh_consolemain.c index baf2e74b4..6b51be470 100644 --- a/apps/nshlib/nsh_consolemain.c +++ b/apps/nshlib/nsh_consolemain.c @@ -97,9 +97,10 @@ int nsh_consolemain(int argc, char *argv[]) { FAR struct console_stdio_s *pstate = nsh_newconsole(); - DEBUGASSERT(pstate); int ret; + DEBUGASSERT(pstate); + /* If we are using a USB serial console, then we will have to wait for the * USB to be connected to the host. */ |