summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-27 13:44:35 -0700
committerKeith Packard <keithp@keithp.com>2012-08-27 13:44:35 -0700
commit467acda662de8b96e7d0df729c2e4761686b82a1 (patch)
tree55570518b6b337133330afef8ed64c223f5277e8 /src
parente7443bf350afe273e87a884915ea1e7662630cd3 (diff)
altos: Expose a signed version of the tick count
Useful when doing time comparisons. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm/ao_arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h
index d0dd3c79..87eda18b 100644
--- a/src/stm/ao_arch.h
+++ b/src/stm/ao_arch.h
@@ -31,6 +31,7 @@
#ifndef AO_TICK_TYPE
#define AO_TICK_TYPE uint16_t
+#define AO_TICK_SIGNED int16_t
#endif
/* Various definitions to make GCC look more like SDCC */