mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Fix a few compiler warnings when compiling the QueueSet.c test code with GCC.
This commit is contained in:
parent
d328ae3bfc
commit
96218c34a1
5 changed files with 36 additions and 26 deletions
|
@ -79,8 +79,11 @@
|
|||
* queuesetINITIAL_ISR_TX_VALUE to 0xffffffffUL;
|
||||
*/
|
||||
|
||||
/* Standard includes. */
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Kernel includes. */
|
||||
#include <FreeRTOS.h>
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "queue.h"
|
||||
|
||||
|
@ -245,7 +248,7 @@ static unsigned long ulCallCount = 0;
|
|||
if( xQueues[ x ] != NULL )
|
||||
{
|
||||
/* xQueues[ x ] can be written to. Send the next value. */
|
||||
if( xQueueSendFromISR( xQueues[ x ], &ulISRTxValue, NULL ) == pdPASS )
|
||||
if( xQueueSendFromISR( xQueues[ x ], ( void * ) &ulISRTxValue, NULL ) == pdPASS )
|
||||
{
|
||||
ulISRTxValue++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue