summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-22 02:02:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-22 02:02:14 +0000
commit6308bfe691ebb4506a88dce4dfe9533bab68f62b (patch)
tree70c68a86f8ab4b1f891b83d49ff7848d201400b8 /nuttx/examples
parentdeb0dd039fcd4118f0292290ee3f2251171dce2d (diff)
downloadpx4-nuttx-6308bfe691ebb4506a88dce4dfe9533bab68f62b.tar.gz
px4-nuttx-6308bfe691ebb4506a88dce4dfe9533bab68f62b.tar.bz2
px4-nuttx-6308bfe691ebb4506a88dce4dfe9533bab68f62b.zip
First debug changes for USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3215 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nsh/nsh.h6
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)