From 467acda662de8b96e7d0df729c2e4761686b82a1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 27 Aug 2012 13:44:35 -0700 Subject: [PATCH] altos: Expose a signed version of the tick count Useful when doing time comparisons. Signed-off-by: Keith Packard --- src/stm/ao_arch.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.30.2