]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c
Update version number to 8.1.1 for patch release that re-enables mutexes to be given...
[freertos] / FreeRTOS / Demo / TriCore_TC1782_TriBoard_GCC / RTOSDemo / main.c
index c9bbb327b66c2b221bd54acaf449e9db86a175b5..8544453bb5aee654666cda2e4f78a2a83215ff47 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.1.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
     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
 \r
 /* The rate at which the on board LED will toggle when there is/is not an\r
 error. */\r
-#define mainNO_ERROR_FLASH_PERIOD_MS   ( ( portTickType ) 5000 / portTICK_RATE_MS      )\r
-#define mainERROR_FLASH_PERIOD_MS              ( ( portTickType ) 500 / portTICK_RATE_MS  )\r
+#define mainNO_ERROR_FLASH_PERIOD_MS   ( ( TickType_t ) 5000 / portTICK_PERIOD_MS      )\r
+#define mainERROR_FLASH_PERIOD_MS              ( ( TickType_t ) 500 / portTICK_PERIOD_MS  )\r
 #define mainON_BOARD_LED_BIT                   ( ( unsigned long ) 7 )\r
 \r
 /* Constant used by the standard timer test functions.  The timers created by\r
@@ -265,8 +265,8 @@ int main( void )
 \r
 static void prvCheckTask( void *pvParameters )\r
 {\r
-portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;\r
-portTickType xLastExecutionTime;\r
+TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;\r
+TickType_t xLastExecutionTime;\r
 \r
        /* Just to stop compiler warnings. */\r
        ( void ) pvParameters;\r