]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_M4F_M0_LPC43xx_Keil/M4/ParTest.c
Update version number to V8.0.0 (without the release candidate number).
[freertos] / FreeRTOS / Demo / CORTEX_M4F_M0_LPC43xx_Keil / M4 / ParTest.c
index 7a1326705d78c33140a7cc48838bb238dd817be1..196268a6e126ae61d4d9600857a43f14edbe1572 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
@@ -63,7 +64,7 @@
 */\r
 \r
 /*-----------------------------------------------------------\r
- * Normally, a demo application would define ParTest (parallel port test) \r
+ * Normally, a demo application would define ParTest (parallel port test)\r
  * functions to write to an LED.  In this case, four '*' symbols that are\r
  * output to the debug printf() port are used to simulate LED outputs.\r
  *-----------------------------------------------------------*/\r
@@ -106,9 +107,9 @@ gatekeeper task. */
  */\r
 static void prvI2CGateKeeperTask( void *pvParameters );\r
 \r
-/* The queue used to communicate toggle commands with the I2C gatekeeper \r
+/* The queue used to communicate toggle commands with the I2C gatekeeper\r
 task. */\r
-static xQueueHandle xI2CCommandQueue = NULL;\r
+static QueueHandle_t xI2CCommandQueue = NULL;\r
 /*-----------------------------------------------------------*/\r
 \r
 void vParTestInitialise( void )\r
@@ -136,7 +137,7 @@ I2C_M_SETUP_Type xI2CMessage;
        configASSERT( xI2CCommandQueue );\r
 \r
        /* Create the I2C gatekeeper task itself. */\r
-       xTaskCreate( prvI2CGateKeeperTask, ( signed char * ) "I2C", configMINIMAL_STACK_SIZE, ( void * ) NULL, tskIDLE_PRIORITY, NULL );\r
+       xTaskCreate( prvI2CGateKeeperTask, "I2C", configMINIMAL_STACK_SIZE, ( void * ) NULL, tskIDLE_PRIORITY, NULL );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -171,7 +172,7 @@ static I2C_M_SETUP_Type xI2CMessage; /* Static so it is not on the stack as this
                {\r
                        /* Which bit is being manipulated? */\r
                        ucLED = 0x01 << ucLED;\r
-       \r
+\r
                        /* Is the bit currently set or clear? */\r
                        if( ( ucLEDState & ucLED ) == 0U )\r
                        {\r
@@ -181,10 +182,10 @@ static I2C_M_SETUP_Type xI2CMessage; /* Static so it is not on the stack as this
                        {\r
                                ucLEDState &= ~ucLED;\r
                        }\r
-       \r
+\r
                        ucBuffer[ 0 ] = partstIO_WRITE_COMMAND;\r
                        ucBuffer[ 1 ] = ucLEDState;\r
-       \r
+\r
                        xI2CMessage.sl_addr7bit = partstSLAVE_ADDRESS;\r
                        xI2CMessage.tx_data = ucBuffer ;\r
                        xI2CMessage.tx_length = sizeof( ucBuffer );\r