diff --git a/Demo/Common/Minimal/recmutex.c b/Demo/Common/Minimal/recmutex.c index 3a7d398a47..755505cd9d 100644 --- a/Demo/Common/Minimal/recmutex.c +++ b/Demo/Common/Minimal/recmutex.c @@ -119,7 +119,7 @@ void vStartRecursiveMutexTasks( void ) { /* Just creates the mutex and the three tasks. */ - xMutex = xSemaphoreCreateMutex(); + xMutex = xSemaphoreCreateRecursiveMutex(); if( xMutex != NULL ) {