diff options
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nsh/nsh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h index 8bdc0b9dd..c1c1a9ed8 100644 --- a/nuttx/examples/nsh/nsh.h +++ b/nuttx/examples/nsh/nsh.h @@ -63,6 +63,12 @@ # endif #endif +/* Telnetd requires networking support */ + +#ifndef CONFIG_NET +# undef CONFIG_EXAMPLES_NSH_TELNET +#endif + /* One front end must be defined */ #if !defined(CONFIG_EXAMPLES_NSH_CONSOLE) && !defined(CONFIG_EXAMPLES_NSH_TELNET) |