From 5cfe86ee42cfef90f3bad3061a879dc3aba094fe Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 29 Nov 2011 19:05:21 +0000 Subject: [PATCH] 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 --- .../lwip-1.4.0/ports/MicroBlaze-Ethernet-Lite/sys_arch.c | 2 +- Demo/Common/ethernet/lwip-1.4.0/ports/win32/sys_arch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.39.5