altos: Allow for other mutex implementations
[fw/altos] / src / core / ao.h
index 9d80148937d5d7e8e2ae6f5a372feae759d1bad6..200d4bc49797296810e9a66c67cc07e502f043ec 100644 (file)
@@ -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