diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-12 13:55:33 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-12 13:55:33 -0700 |
commit | be0a28ee7a6fbd98fc8113db8501bb791a112fa0 (patch) | |
tree | a59cb201945cd9298f6126d8d81a07c62b17f2a8 | |
parent | 6a3ee911353291b04e161d50a181ed4211d467a2 (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>
-rw-r--r-- | src/core/ao.h | 2 |
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 |