]> git.sur5r.net Git - freertos/blobdiff - Demo/Common/Minimal/PollQ.c
Remove some casting to keep the Keil/RVDS compiler quiet.
[freertos] / Demo / Common / Minimal / PollQ.c
index e250992cf4a2b9d14c61158a6cfd222985e71208..ee89294a40e4f9a7ad0e5237d33d9d3623b969a8 100644 (file)
@@ -98,8 +98,8 @@ static xQueueHandle xPolledQueue;
        xPolledQueue = xQueueCreate( pollqQUEUE_SIZE, ( unsigned portBASE_TYPE ) sizeof( unsigned portSHORT ) );\r
 \r
        /* Spawn the producer and consumer. */\r
-       xTaskCreate( vPolledQueueConsumer, ( const signed portCHAR * const ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
-       xTaskCreate( vPolledQueueProducer, ( const signed portCHAR * const ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vPolledQueueConsumer, ( signed portCHAR * ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vPolledQueueProducer, ( signed portCHAR * ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( xTaskHandle * ) NULL );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r