aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ethosu_driver.c')
-rw-r--r--src/ethosu_driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c
index 60034e6..5910fa4 100644
--- a/src/ethosu_driver.c
+++ b/src/ethosu_driver.c
@@ -174,7 +174,10 @@ struct ethosu_semaphore_t
static void *ethosu_mutex;
static void *ethosu_semaphore;
-void *__attribute__((weak)) ethosu_mutex_create(void) {}
+void *__attribute__((weak)) ethosu_mutex_create(void)
+{
+ return NULL;
+}
void __attribute__((weak)) ethosu_mutex_lock(void *mutex)
{