From: richardbarry Date: Tue, 29 Nov 2011 19:05:21 +0000 (+0000) Subject: Remove the direct call to xQueueCreateMutex() and replace it with the xSemaphoreCreat... X-Git-Tag: V7.1.0~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cfe86ee42cfef90f3bad3061a879dc3aba094fe;p=freertos Remove the direct call to xQueueCreateMutex() and replace it with the xSemaphoreCreateMutex() macro. The result is the same, but the xQueue equivalent should not be used directly outside of the core files. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1644 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/Common/ethernet/lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c b/Demo/Common/ethernet/lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c index 8aecd5be3..c65e1f82b 100644 --- a/Demo/Common/ethernet/lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c +++ b/Demo/Common/ethernet/lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c @@ -391,7 +391,7 @@ err_t sys_mutex_new( sys_mutex_t *pxMutex ) { err_t xReturn = ERR_MEM; - *pxMutex = xQueueCreateMutex(); + *pxMutex = xSemaphoreCreateMutex(); if( *pxMutex != NULL ) { diff --git a/Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c b/Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c index bedf174a4..bf4080039 100644 --- a/Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c +++ b/Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c @@ -363,7 +363,7 @@ err_t sys_mutex_new( sys_mutex_t *pxMutex ) { err_t xReturn = ERR_MEM; - *pxMutex = xQueueCreateMutex(); + *pxMutex = xSemaphoreCreateMutex(); if( *pxMutex != NULL ) {