projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7443bf
)
altos: Expose a signed version of the tick count
author
Keith Packard
<keithp@keithp.com>
Mon, 27 Aug 2012 20:44:35 +0000
(13:44 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 27 Aug 2012 20:44:35 +0000
(13:44 -0700)
Useful when doing time comparisons.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_arch.h
patch
|
blob
|
history
diff --git
a/src/stm/ao_arch.h
b/src/stm/ao_arch.h
index d0dd3c7976d432a32557399c5fb6b36e4c38c6a2..87eda18b2a89878a2576d79f90bed05ab0e51a39 100644
(file)
--- 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 */