From: Keith Packard Date: Mon, 28 May 2018 20:08:33 +0000 (-0700) Subject: altos/telelco-v2.0: Reduce quadrature debounce time X-Git-Tag: 1.8.6~1^2~49 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f172b139ddc3fcc17cf89b57e5126264c0faa45e 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 --- 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