diff options
author | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-01-28 12:18:03 +0000 |
---|---|---|
committer | richardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-01-28 12:18:03 +0000 |
commit | 5c633729582a7e32ad9dc1031f03dea9759ac862 (patch) | |
tree | 40021b4cd177d441b714ebd72d2a51b12efe79cf /Source/queue.c | |
parent | 824a733ebe87a52cfa2b08e5cd2dd3ff19945e7e (diff) | |
download | freertos-5c633729582a7e32ad9dc1031f03dea9759ac862.tar.gz freertos-5c633729582a7e32ad9dc1031f03dea9759ac862.tar.bz2 freertos-5c633729582a7e32ad9dc1031f03dea9759ac862.tar.xz |
Slight mod to take into account different definitions between SafeRTOS and FreeRTOS.org.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@61 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source/queue.c')
-rw-r--r-- | Source/queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/queue.c b/Source/queue.c index 8eea22b6..b16925a3 100644 --- a/Source/queue.c +++ b/Source/queue.c @@ -240,7 +240,7 @@ size_t xQueueSizeInBytes; signed portBASE_TYPE xQueueSend( xQueueHandle pxQueue, const void *pvItemToQueue, portTickType xTicksToWait )
{
-signed portBASE_TYPE xReturn = pdFAIL;
+signed portBASE_TYPE xReturn = pdPASS;
xTimeOutType xTimeOut;
/* Make sure other tasks do not access the queue. */
@@ -459,7 +459,7 @@ signed portBASE_TYPE xQueueSendFromISR( xQueueHandle pxQueue, const void *pvItem signed portBASE_TYPE xQueueReceive( xQueueHandle pxQueue, void *pvBuffer, portTickType xTicksToWait )
{
-signed portBASE_TYPE xReturn = pdFAIL;
+signed portBASE_TYPE xReturn = pdTRUE;
xTimeOutType xTimeOut;
/* This function is very similar to xQueueSend(). See comments within
|