mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-28 05:58:36 -04:00
Complete testing of changes that allow xQueueOverwrite() to be used on a queue that is part of a queue set.
Fix some compiler warnings in stream_buffer.c. Update the MingW/Eclipse project so it also includes static allocation tests.
This commit is contained in:
parent
f9bef06ec0
commit
c156522695
7 changed files with 116 additions and 48 deletions
|
@ -624,7 +624,7 @@ const UBaseType_t xLengthOfOne = ( UBaseType_t ) 1;
|
|||
/* Add an item to the queue then ensure the queue set correctly
|
||||
indicates that one item is available, and that that item is indeed the
|
||||
queue written to. */
|
||||
xQueueSend( xQueueHandle, ( void * ) &ulValueToSend, 0 );
|
||||
xQueueOverwrite( xQueueHandle, ( void * ) &ulValueToSend );
|
||||
if( uxQueueMessagesWaiting( xQueueSet ) != ( UBaseType_t ) 1 )
|
||||
{
|
||||
/* Expected one item in the queue set. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue