From cbdb5257cc9ea90aa14eb071d2bfa4f31a32293e Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Sep 2011 16:38:09 +0000 Subject: Add logic to limit the number of samples git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3996 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/touchscreen/tc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/examples/touchscreen/tc.h') diff --git a/apps/examples/touchscreen/tc.h b/apps/examples/touchscreen/tc.h index d431c9a5b..173ed491f 100644 --- a/apps/examples/touchscreen/tc.h +++ b/apps/examples/touchscreen/tc.h @@ -55,6 +55,11 @@ * CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen * device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. * Default: "/dev/input0" + * 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. */ #ifndef CONFIG_INPUT -- cgit v1.2.3