diff options
author | Keith Packard <keithp@keithp.com> | 2012-08-27 13:44:35 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-27 13:44:35 -0700 |
commit | 467acda662de8b96e7d0df729c2e4761686b82a1 (patch) | |
tree | 55570518b6b337133330afef8ed64c223f5277e8 /src | |
parent | e7443bf350afe273e87a884915ea1e7662630cd3 (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.h | 1 |
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 */ |