summaryrefslogtreecommitdiff
path: root/src/stm/ao_timer.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-06 22:53:52 -0700
committerKeith Packard <keithp@keithp.com>2012-08-06 22:53:52 -0700
commit46f87373bc8c28442273ee4f8da3a352223150f5 (patch)
tree07f37b802ca3ffd68cbf43d5056aca0c8085caa7 /src/stm/ao_timer.c
parent11046bc89b3ce6386f1005fc8476b08f54d6f5fb (diff)
altos: Add button driver and event queue
With this, a single task can wait for any button or quadrature input device. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_timer.c')
-rw-r--r--src/stm/ao_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_timer.c b/src/stm/ao_timer.c
index ebe75366..adec7aad 100644
--- a/src/stm/ao_timer.c
+++ b/src/stm/ao_timer.c
@@ -17,7 +17,7 @@
#include "ao.h"
-volatile __data uint16_t ao_tick_count;
+volatile __data AO_TICK_TYPE ao_tick_count;
uint16_t ao_time(void)
{