mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Slight mod to take into account different definitions between SafeRTOS and FreeRTOS.org.
This commit is contained in:
parent
684b802b27
commit
f20d072c4a
|
@ -240,7 +240,7 @@ size_t xQueueSizeInBytes;
|
||||||
|
|
||||||
signed portBASE_TYPE xQueueSend( xQueueHandle pxQueue, const void *pvItemToQueue, portTickType xTicksToWait )
|
signed portBASE_TYPE xQueueSend( xQueueHandle pxQueue, const void *pvItemToQueue, portTickType xTicksToWait )
|
||||||
{
|
{
|
||||||
signed portBASE_TYPE xReturn = pdFAIL;
|
signed portBASE_TYPE xReturn = pdPASS;
|
||||||
xTimeOutType xTimeOut;
|
xTimeOutType xTimeOut;
|
||||||
|
|
||||||
/* Make sure other tasks do not access the queue. */
|
/* 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 xQueueReceive( xQueueHandle pxQueue, void *pvBuffer, portTickType xTicksToWait )
|
||||||
{
|
{
|
||||||
signed portBASE_TYPE xReturn = pdFAIL;
|
signed portBASE_TYPE xReturn = pdTRUE;
|
||||||
xTimeOutType xTimeOut;
|
xTimeOutType xTimeOut;
|
||||||
|
|
||||||
/* This function is very similar to xQueueSend(). See comments within
|
/* This function is very similar to xQueueSend(). See comments within
|
||||||
|
|
Loading…
Reference in a new issue