altos: Make quadrature debounce per-pin rather than per-device
authorKeith Packard <keithp@keithp.com>
Thu, 15 May 2014 15:31:24 +0000 (09:31 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 15 May 2014 15:31:24 +0000 (09:31 -0600)
commit819f73698f57e76dca50fe4fadccebd23ffb776d
tree76248f4f2f500fcbec025ee586d883eafc1c484f
parentda13064382e9673e69cdfae6abbac253c9fc42fc
altos: Make quadrature debounce per-pin rather than per-device

Debouncing per-pin means we don't lose transitions, which makes
counting a lot more precise.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_quadrature.c
src/telelco-v0.2/ao_pins.h