summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-05-28 13:08:33 -0700
committerKeith Packard <keithp@keithp.com>2018-05-28 13:08:33 -0700
commitf172b139ddc3fcc17cf89b57e5126264c0faa45e (patch)
treedd9ebce347a1f6afb3f9bc18a080534e2b8c85e7 /src
parenta4dbc940cc6c8ff5565e8af21f2dcb4ae090380c (diff)
altos/telelco-v2.0: Reduce quadrature debounce time
The optical encoders shouldn't bounce at all; let's try a minimal value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/telelco-v2.0/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/telelco-v2.0/ao_pins.h b/src/telelco-v2.0/ao_pins.h
index d8cf4dec..46a766c1 100644
--- a/src/telelco-v2.0/ao_pins.h
+++ b/src/telelco-v2.0/ao_pins.h
@@ -305,6 +305,7 @@
*/
#define AO_QUADRATURE_COUNT 1
+#define AO_QUADRATURE_DEBOUNCE 1
#define AO_QUADRATURE_0_PORT &stm_gpioe
#define AO_QUADRATURE_0_A 15