]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_CY8C5588_PSoC_Creator_GCC/FreeRTOS_Demo.cydsn/main.c
***IMMINENT RELEASE NOTICE***
[freertos] / FreeRTOS / Demo / CORTEX_CY8C5588_PSoC_Creator_GCC / FreeRTOS_Demo.cydsn / main.c
index 52d84ece58b9bf340a28750eb8534143c4acbfcb..9e96f1cc1140245bb779e1e56710c918dbb880aa 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.1.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
     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
@@ -94,7 +94,7 @@
 \r
 /* The time between cycles of the 'check' functionality (defined within the\r
 tick hook. */\r
-#define mainCHECK_DELAY                                                ( ( portTickType ) 5000 / portTICK_RATE_MS )\r
+#define mainCHECK_DELAY                                                ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )\r
 #define mainCOM_LED                                                    ( 3 )\r
 \r
 /* The number of nano seconds between each processor clock. */\r
@@ -221,7 +221,7 @@ extern cyisraddress CyRamVectors[];
 void vCheckTask( void *pvParameters )\r
 {\r
 unsigned long ulRow = 0;\r
-portTickType xDelay = 0;\r
+TickType_t xDelay = 0;\r
 unsigned short usErrorCode = 0;\r
 unsigned long ulIteration = 0;\r
 extern unsigned short usMaxJitter;\r
@@ -325,7 +325,7 @@ extern unsigned short usMaxJitter;
 }\r
 /*---------------------------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        /* The stack space has been execeeded for a task, considering allocating more. */\r
        taskDISABLE_INTERRUPTS();\r