summaryrefslogtreecommitdiff
path: root/apps/examples/touchscreen/tc.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-04-01 22:00:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-04-01 22:00:37 +0000
commit87590afa9ca772243c261e6c1b8478565bd2771a (patch)
treed7a3161c5dea29510630f239e027dc32bac968fc /apps/examples/touchscreen/tc.h
parentf7122813d51018e5d3460a30596d2320a08ef740 (diff)
downloadnuttx-87590afa9ca772243c261e6c1b8478565bd2771a.tar.gz
nuttx-87590afa9ca772243c261e6c1b8478565bd2771a.tar.bz2
nuttx-87590afa9ca772243c261e6c1b8478565bd2771a.zip
More naming changes associated with earlier renaming of LP17xx up_spiinitialize; LPC178x SSP support; Open1788 SSP and touchscreen support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5811 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/touchscreen/tc.h')
-rw-r--r--apps/examples/touchscreen/tc.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/examples/touchscreen/tc.h b/apps/examples/touchscreen/tc.h
index dddff11c3..055353ddd 100644
--- a/apps/examples/touchscreen/tc.h
+++ b/apps/examples/touchscreen/tc.h
@@ -42,7 +42,6 @@
#include <nuttx/config.h>
-
/****************************************************************************
* Definitions
****************************************************************************/
@@ -50,7 +49,7 @@
/* CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as
* an NSH built-in function. Default: Built as a standalone problem
* CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N
- * correspnds to touchscreen device /dev/input0. Note this value must
+ * corresponds to touchscreen device /dev/input0. Note this value must
* with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0.
* CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen
* device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR.
@@ -58,8 +57,8 @@
* CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN
* is defined, then the number of samples is provided on the command line
* and this value is ignored. Otherwise, this number of samples is
- * collected and the program terminates. Default: Samples are collected
- * indefinitely.
+ * collected and the program terminates. Default: Zero (Samples are collected
+ * indefinitely).
*/
#ifndef CONFIG_INPUT
@@ -78,6 +77,10 @@
# define CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH "/dev/input0"
#endif
+#ifndef CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES
+# define CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES 0
+#endif
+
/* Debug ********************************************************************/
#ifdef CONFIG_CPP_HAVE_VARARGS