diff options
Diffstat (limited to 'src/gos')
-rw-r--r-- | src/gos/gos_cmsis2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_cmsis2.c b/src/gos/gos_cmsis2.c index abbea6b2..ca2d6eb6 100644 --- a/src/gos/gos_cmsis2.c +++ b/src/gos/gos_cmsis2.c @@ -66,7 +66,7 @@ void gfxMutexInit(gfxMutex* pmutex) void gfxSemInit(gfxSem* psem, semcount_t val, semcount_t limit) { - *pmutex = osSemaphoreNew(limit, val, NULL); + *psem = osSemaphoreNew(limit, val, NULL); } bool_t gfxSemWait(gfxSem* psem, delaytime_t ms) |