mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-24 18:19:33 +08:00
Correct API call used to create mutex.
This commit is contained in:
@ -119,7 +119,7 @@ void vStartRecursiveMutexTasks( void )
|
|||||||
{
|
{
|
||||||
/* Just creates the mutex and the three tasks. */
|
/* Just creates the mutex and the three tasks. */
|
||||||
|
|
||||||
xMutex = xSemaphoreCreateMutex();
|
xMutex = xSemaphoreCreateRecursiveMutex();
|
||||||
|
|
||||||
if( xMutex != NULL )
|
if( xMutex != NULL )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user