]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTUS_APS3_GCC/Demo/7seg.c
Update version number ready for release.
[freertos] / FreeRTOS / Demo / CORTUS_APS3_GCC / Demo / 7seg.c
index 33c443095bd704325579c7c33cd6f2f8f98102fa..bb3b8fab2645f3a5d3a34725abe4524c67c643b5 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.1 - 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
     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
@@ -84,8 +85,8 @@ static signed char seg7_digits[4];
 \r
 void vStart7SegTasks( unsigned portBASE_TYPE uxPriority )\r
 {\r
-       xTaskCreate( prvRefreshTask, ( signed char * ) "7SegRefresh", x7segSTACK_SIZE, NULL, uxPriority, ( xTaskHandle *) NULL );\r
-       xTaskCreate( prvCountTask,   ( signed char * ) "7SegCount",     x7segSTACK_SIZE, NULL, uxPriority, ( xTaskHandle *) NULL );\r
+       xTaskCreate( prvRefreshTask, "7SegRefresh", x7segSTACK_SIZE, NULL, uxPriority, ( TaskHandle_t *) NULL );\r
+       xTaskCreate( prvCountTask, "7SegCount", x7segSTACK_SIZE, NULL, uxPriority, ( TaskHandle_t *) NULL );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -120,7 +121,7 @@ const unsigned char apsx[4] =
        0x08  /* A */\r
 };\r
 \r
-portTickType xRefreshRate, xLastRefreshTime;\r
+TickType_t xRefreshRate, xLastRefreshTime;\r
 \r
 /* Digit to scan */\r
 static int d = 0;\r
@@ -157,7 +158,7 @@ static int d = 0;
 \r
 static void prvCountTask( void *pvParameters )\r
 {\r
-portTickType xCountRate, xLastCountTime;\r
+TickType_t xCountRate, xLastCountTime;\r
 \r
        /* Approximately 20HZ */\r
        xCountRate = configTICK_RATE_HZ / 20;\r