summaryrefslogtreecommitdiff
path: root/src/telelco-v0.2
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-06-09 22:09:13 -0700
committerKeith Packard <keithp@keithp.com>2013-06-09 22:09:13 -0700
commit988924b51980ad43e39bc4785a625ff25eb16449 (patch)
treeb0b3abecd78b1a3471244867cbbe9d3bbf1c7944 /src/telelco-v0.2
parent72b6c699d355fcd41addb9919d846e63105b9db7 (diff)
altos: Add fast-timer API. Use for quadrature and button drivers
This splits the fast-timer portion out of the debounce helper code and shares that with the quadrature driver which now uses it directly. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telelco-v0.2')
-rw-r--r--src/telelco-v0.2/Makefile1
-rw-r--r--src/telelco-v0.2/ao_pins.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/telelco-v0.2/Makefile b/src/telelco-v0.2/Makefile
index 42a5a7ee..f78ca9e2 100644
--- a/src/telelco-v0.2/Makefile
+++ b/src/telelco-v0.2/Makefile
@@ -50,6 +50,7 @@ ALTOS_SRC = \
ao_beep_stm.c \
ao_storage.c \
ao_eeprom_stm.c \
+ ao_fast_timer.c \
ao_lcd_stm.c \
ao_usb_stm.c \
ao_exti_stm.c \
diff --git a/src/telelco-v0.2/ao_pins.h b/src/telelco-v0.2/ao_pins.h
index 07ea1b45..d86782f3 100644
--- a/src/telelco-v0.2/ao_pins.h
+++ b/src/telelco-v0.2/ao_pins.h
@@ -235,7 +235,6 @@
*/
#define AO_QUADRATURE_COUNT 2
-#define AO_QUADRATURE_MODE 0
#define AO_QUADRATURE_0_PORT &stm_gpioe
#define AO_QUADRATURE_0_A 3