diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-29 16:38:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-29 16:38:09 +0000 |
commit | cbdb5257cc9ea90aa14eb071d2bfa4f31a32293e (patch) | |
tree | 700b6afe656221410fa3fb2ab6d7401ee013183e /nuttx/configs/sim | |
parent | 46befd16063c1f5ac68344cf5419a33a56d3a1ab (diff) | |
download | px4-nuttx-cbdb5257cc9ea90aa14eb071d2bfa4f31a32293e.tar.gz px4-nuttx-cbdb5257cc9ea90aa14eb071d2bfa4f31a32293e.tar.bz2 px4-nuttx-cbdb5257cc9ea90aa14eb071d2bfa4f31a32293e.zip |
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
Diffstat (limited to 'nuttx/configs/sim')
-rw-r--r-- | nuttx/configs/sim/touchscreen/defconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/sim/touchscreen/defconfig b/nuttx/configs/sim/touchscreen/defconfig index 448cee747..350502ef2 100644 --- a/nuttx/configs/sim/touchscreen/defconfig +++ b/nuttx/configs/sim/touchscreen/defconfig @@ -551,10 +551,16 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" # 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. # CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" +CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 # # Additional examples/touchscreen needed only for the simulated target |