projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4dbc94
)
altos/telelco-v2.0: Reduce quadrature debounce time
author
Keith Packard
<keithp@keithp.com>
Mon, 28 May 2018 20:08:33 +0000
(13:08 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/telelco-v2.0/ao_pins.h
b/src/telelco-v2.0/ao_pins.h
index d8cf4dec0772d9062880344f21405dc436f3cade..46a766c16f5744a92d0c0db4e4a8bec6870beda0 100644
(file)
--- 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_COUNT 1
+#define AO_QUADRATURE_DEBOUNCE 1
#define AO_QUADRATURE_0_PORT &stm_gpioe
#define AO_QUADRATURE_0_A 15
#define AO_QUADRATURE_0_PORT &stm_gpioe
#define AO_QUADRATURE_0_A 15