summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-11 23:07:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-11 23:07:26 +0000
commit258b47ea9b8686f71788ac804c9be909815f6934 (patch)
treeacd4ae9a714326c741d43e34c9ccc2df26242daf /nuttx/examples/nsh/nsh.h
parent2ca9507eddbf4ae56a45983c551a84d37cd6db05 (diff)
downloadpx4-nuttx-258b47ea9b8686f71788ac804c9be909815f6934.tar.gz
px4-nuttx-258b47ea9b8686f71788ac804c9be909815f6934.tar.bz2
px4-nuttx-258b47ea9b8686f71788ac804c9be909815f6934.zip
Clean configuration varialbe names
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@816 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r--nuttx/examples/nsh/nsh.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h
index 3a8948b2a..a4b9c4160 100644
--- a/nuttx/examples/nsh/nsh.h
+++ b/nuttx/examples/nsh/nsh.h
@@ -55,15 +55,21 @@
#define NSH_MAX_ARGUMENTS 6
/* strerror() produces much nicer output but is, however, quite large and
- * will only be used if CONFIG_NSH_STRERROR is defined.
+ * will only be used if CONFIG_EXAMPLES_NSH_STRERROR is defined.
*/
-#ifdef CONFIG_NSH_STRERROR
+#ifdef CONFIG_EXAMPLES_NSH_STRERROR
# define NSH_ERRNO strerror(errno)
#else
# define NSH_ERRNO errno
#endif
+/* Maximum size of one command line (telnet or serial) */
+
+#ifndef CONFIG_EXAMPLES_NSH_LINELEN
+# define CONFIG_EXAMPLES_NSH_LINELEN 80
+#endif
+
/* The following two settings are used only in the telnetd interface */
#ifndef CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE
@@ -85,10 +91,7 @@
/* Define to enable dumping of all input/output buffers */
#undef CONFIG_EXAMPLES_NSH_TELNETD_DUMPBUFFER
-
-/* Sizing */
-
-#define NSH_MAX_LINELEN 80
+#undef CONFIG_EXAMPLES_NSH_FULLPATH
/****************************************************************************
* Public Types