Fixing typo in CMSIS2 port

This commit is contained in:
Joel Bodenmann 2017-08-29 09:20:40 +02:00
parent db99ea7d04
commit c3ad194401

View File

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