]> git.sur5r.net Git - freertos/commitdiff
Correct API call used to create mutex.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 4 Feb 2008 08:42:12 +0000 (08:42 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 4 Feb 2008 08:42:12 +0000 (08:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@151 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/recmutex.c

index 3a7d398a47900d07efba340737abd00e6f24a46c..755505cd9d4c84dc9740f3cf4576b2b2f7d98fb1 100644 (file)
@@ -119,7 +119,7 @@ void vStartRecursiveMutexTasks( void )
 {\r
        /* Just creates the mutex and the three tasks. */\r
 \r
-       xMutex = xSemaphoreCreateMutex();\r
+       xMutex = xSemaphoreCreateRecursiveMutex();\r
 \r
        if( xMutex != NULL )\r
        {\r