Browse Source

Fixing typo in CMSIS2 port

remotes/origin_old/release/v2.9
Joel Bodenmann 5 years ago
parent
commit
c3ad194401
  1. 2
      src/gos/gos_cmsis2.c

2
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)

Loading…
Cancel
Save