[PATCH 6/6] ads7846: improve filtering for thumb press accuracy
authorImre Deak <imre.deak@nokia.com>
Mon, 15 May 2006 07:41:32 +0000 (00:41 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 15 May 2006 07:41:32 +0000 (00:41 -0700)
Providing more accurate coordinates for thumb press requires additional
steps in the filtering logic:

- Ignore samples found invalid by the debouncing logic, or the ones that
  have out of bound pressure value.
- Add a parameter to repeat debouncing, so that more then two consecutive
  good readings are required for a valid sample.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found