summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-12 13:55:33 -0700
committerKeith Packard <keithp@keithp.com>2012-10-12 13:55:33 -0700
commitbe0a28ee7a6fbd98fc8113db8501bb791a112fa0 (patch)
treea59cb201945cd9298f6126d8d81a07c62b17f2a8 /src/core/ao.h
parent6a3ee911353291b04e161d50a181ed4211d467a2 (diff)
altos: Allow for other mutex implementations
Allow projects to replace ao_mutex_get and ao_mutex_put with macros Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 9d801489..200d4bc4 100644
--- 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