From: Keith Packard Date: Mon, 27 Aug 2012 20:44:35 +0000 (-0700) Subject: altos: Expose a signed version of the tick count X-Git-Tag: 1.1~67^2~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=467acda662de8b96e7d0df729c2e4761686b82a1 altos: Expose a signed version of the tick count Useful when doing time comparisons. Signed-off-by: Keith Packard --- 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 */