]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/QueueSet.c
Complete testing of changes that allow xQueueOverwrite() to be used on a queue that...
[freertos] / FreeRTOS / Demo / Common / Minimal / QueueSet.c
index 528ec06c08c2932c5e9965dee417387a4e5b80ad..2bd0cf60f14276053bc90a9f634ea09b114b10c9 100644 (file)
@@ -624,7 +624,7 @@ const UBaseType_t xLengthOfOne = ( UBaseType_t ) 1;
                /* Add an item to the queue then ensure the queue set correctly\r
                indicates that one item is available, and that that item is indeed the\r
                queue written to. */\r
-               xQueueSend( xQueueHandle, ( void * ) &ulValueToSend, 0 );\r
+               xQueueOverwrite( xQueueHandle, ( void * ) &ulValueToSend );\r
                if( uxQueueMessagesWaiting( xQueueSet ) != ( UBaseType_t ) 1 )\r
                {\r
                        /* Expected one item in the queue set. */\r