]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/MSP430X_MSP430F5438_IAR/main.c
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE...
[freertos] / FreeRTOS / Demo / MSP430X_MSP430F5438_IAR / main.c
index 6450780edea9bb2465a04ba268a1bc5353747324..55bc5e3d414c305e26e8945fa894b33d28bb48d1 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.1.2 - 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
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -239,7 +239,7 @@ volatile unsigned short usRegTest1Counter = 0, usRegTest2Counter = 0;
 \r
 /* The handle of the queue used to send messages from tasks and interrupts to\r
 the LCD task. */\r
-static xQueueHandle xLCDQueue = NULL;\r
+static QueueHandle_t xLCDQueue = NULL;\r
 \r
 /* The definition of each message sent from tasks and interrupts to the LCD\r
 task. */\r
@@ -448,7 +448,7 @@ xQueueMessage xMessage;
 \r
                /* Block for 10 milliseconds so this task does not utilise all the CPU\r
                time and debouncing of the button is not necessary. */\r
-               vTaskDelay( 10 / portTICK_RATE_MS );\r
+               vTaskDelay( 10 / portTICK_PERIOD_MS );\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -481,7 +481,7 @@ void vApplicationTickHook( void )
 {\r
 static unsigned short usLastRegTest1Counter = 0, usLastRegTest2Counter = 0;\r
 static unsigned long ulCounter = 0;\r
-static const unsigned long ulCheckFrequency = 5000UL / portTICK_RATE_MS;\r
+static const unsigned long ulCheckFrequency = 5000UL / portTICK_PERIOD_MS;\r
 portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
 \r
 /* Define the status message that is sent to the LCD task.  By default the\r
@@ -626,7 +626,7 @@ void vApplicationMallocFailedHook( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        ( void ) pxTask;\r
        ( void ) pcTaskName;\r