summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 1032dd33..5e1fbb9d 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -125,7 +125,12 @@ ao_panic(uint8_t reason);
* ao_timer.c
*/
-extern volatile __data uint16_t ao_tick_count;
+#ifndef AO_TICK_TYPE
+#define AO_TICK_TYPE uint16_t
+#define AO_TICK_SIGNED int16_t
+#endif
+
+extern volatile __data AO_TICK_TYPE ao_tick_count;
/* Our timer runs at 100Hz */
#define AO_HERTZ 100