OSDN Git Service

Clear the ts event buffer at appropriate points in ts_calibrate
authorChris Larson <clarson@kergoth.com>
Thu, 13 Nov 2008 03:14:16 +0000 (03:14 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 13 Nov 2008 03:14:16 +0000 (03:14 +0000)
commitcf06fcbdb87bfc147bb8e580812722b1d296bf44
tree77b5d71b94809467fc7a6b31cf032d42c8b67724
parentffdb9e5a00c2989628d5b6a90096eef24df1fbc8
Clear the ts event buffer at appropriate points in ts_calibrate

Fixes the issue where an accidental double-tap at one coordinate results in
having to restart the calibration, since the second tap gets read as the next
coordinate for the calibration.  Patch courtesy MontaVista Software, Inc.

Signed-off-by: Chris Larson <clarson@kergoth.com>
tests/ts_calibrate.c