altos/telelco-v2.0: Reduce quadrature debounce time
authorKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 20:08:33 +0000 (13:08 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 May 2018 20:08:33 +0000 (13:08 -0700)
The optical encoders shouldn't bounce at all; let's try a minimal value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telelco-v2.0/ao_pins.h

index d8cf4dec0772d9062880344f21405dc436f3cade..46a766c16f5744a92d0c0db4e4a8bec6870beda0 100644 (file)
  */
 
 #define AO_QUADRATURE_COUNT    1
+#define AO_QUADRATURE_DEBOUNCE 1
 
 #define AO_QUADRATURE_0_PORT   &stm_gpioe
 #define AO_QUADRATURE_0_A      15