mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Correct API call used to create mutex.
This commit is contained in:
parent
05920be92a
commit
7d0f249fad
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue