projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3ee91
)
altos: Allow for other mutex implementations
author
Keith Packard
<keithp@keithp.com>
Fri, 12 Oct 2012 20:55:33 +0000
(13:55 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 12 Oct 2012 20:55:33 +0000
(13:55 -0700)
Allow projects to replace ao_mutex_get and ao_mutex_put with macros
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao.h
patch
|
blob
|
history
diff --git
a/src/core/ao.h
b/src/core/ao.h
index 9d80148937d5d7e8e2ae6f5a372feae759d1bad6..200d4bc49797296810e9a66c67cc07e502f043ec 100644
(file)
--- a/
src/core/ao.h
+++ b/
src/core/ao.h
@@
-119,11
+119,13
@@
ao_clock_init(void);
* ao_mutex.c
*/
+#ifndef ao_mutex_get
void
ao_mutex_get(__xdata uint8_t *ao_mutex) __reentrant;
void
ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant;
+#endif
/*
* ao_cmd.c