diff options
author | Keith Packard <keithp@keithp.com> | 2015-12-25 20:46:40 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-12-25 20:46:40 -0800 |
commit | d312808f20e9358e1eca94dc7f747928d4ee85b1 (patch) | |
tree | 1ff4edf482ce28464267e8a7f899d4a29dc0f804 /src/telelco-v0.3 | |
parent | 3eca6e02e022e184e98d945368d0a8cf22f54049 (diff) |
altos: Use simpler debounce logic for buttonstelelaunchtwo
Instead of waiting for a while after the transition to decide if it
has stuck, signal the event right away and then ignore other
transitions for the debounce interval.
This seems to work just as reliably, but has the benefit of
eliminating button latency at press time.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telelco-v0.3')
-rw-r--r-- | src/telelco-v0.3/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/telelco-v0.3/Makefile b/src/telelco-v0.3/Makefile index 83d3fc43..0bb0f9dc 100644 --- a/src/telelco-v0.3/Makefile +++ b/src/telelco-v0.3/Makefile @@ -23,7 +23,6 @@ INC = \ ao_radio_cmac.h \ ao_cc1200_CC1200.h \ ao_cc1200.h \ - ao_debounce.h \ stm32l.h # @@ -62,7 +61,6 @@ ALTOS_SRC = \ ao_fec_tx.c \ ao_fec_rx.c \ ao_seven_segment.c \ - ao_debounce.c \ ao_quadrature.c \ ao_button.c \ ao_event.c \ |