altos: debounce buttons
authorKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2011 02:30:56 +0000 (18:30 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2011 02:30:56 +0000 (18:30 -0800)
commit4de8bf6da4d725bb0514d032b0708c5cf420e8fa
treef3ebcb2dc916fa0703c6193268a718ae9a975bbe
parentad41b5820c2e252627959e4627473f07784be23e
altos: debounce buttons

Provide API to clear out any button events that happen during startup,
and then discard button events 'too close' together.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_arch.h
src/cc1111/ao_button.c