diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/nsh/nsh_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/examples/nsh/nsh_main.c b/apps/examples/nsh/nsh_main.c index 1d1592b4d..c5b671ab1 100644 --- a/apps/examples/nsh/nsh_main.c +++ b/apps/examples/nsh/nsh_main.c @@ -53,6 +53,12 @@ * Pre-processor Definitions ****************************************************************************/ +/* The NSH telnet console requires networking support (and TCP/IP) */ + +#ifndef CONFIG_NET +# undef CONFIG_NSH_TELNET +#endif + /**************************************************************************** * Private Types ****************************************************************************/ |