]> git.sur5r.net Git - freertos/commitdiff
Remove the direct call to xQueueCreateMutex() and replace it with the xSemaphoreCreat...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 29 Nov 2011 19:05:21 +0000 (19:05 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 29 Nov 2011 19:05:21 +0000 (19:05 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1644 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/ethernet/lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c
Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c

index 8aecd5be31120d1874451478d985dc2165502439..c65e1f82b3ef188a82f91c5febfb2907f33fa141 100644 (file)
@@ -391,7 +391,7 @@ err_t sys_mutex_new( sys_mutex_t *pxMutex )
 {\r
 err_t xReturn = ERR_MEM;\r
 \r
-       *pxMutex = xQueueCreateMutex();\r
+       *pxMutex = xSemaphoreCreateMutex();\r
 \r
        if( *pxMutex != NULL ) \r
        {\r
index bedf174a4747087050c4b6cae96ad4ea22a50df1..bf4080039a645a37aa8ba71a8b3eb0bc01dfda8b 100644 (file)
@@ -363,7 +363,7 @@ err_t sys_mutex_new( sys_mutex_t *pxMutex )
 {\r
 err_t xReturn = ERR_MEM;\r
 \r
-       *pxMutex = xQueueCreateMutex();\r
+       *pxMutex = xSemaphoreCreateMutex();\r
 \r
        if( *pxMutex != NULL ) \r
        {\r