From 9b11b0c60189a48f84020e499949ddd1a0f71766 Mon Sep 17 00:00:00 2001 From: Richard Barry 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. --- .../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 ) {