summaryrefslogtreecommitdiff
path: root/micropeak
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-25 20:46:40 -0800
committerKeith Packard <keithp@keithp.com>2015-12-25 20:46:40 -0800
commitd312808f20e9358e1eca94dc7f747928d4ee85b1 (patch)
tree1ff4edf482ce28464267e8a7f899d4a29dc0f804 /micropeak
parent3eca6e02e022e184e98d945368d0a8cf22f54049 (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 'micropeak')
0 files changed, 0 insertions, 0 deletions