]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Full/comtest.c
Update version number to V8.0.0 (without the release candidate number).
[freertos] / FreeRTOS / Demo / Common / Full / comtest.c
index dfd34597fc11952ccf536f06f5f157ab1f15871e..3818b77db2f97f040cbaf646742838ccbb1ec193 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - 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
@@ -120,7 +120,7 @@ Changed from V1.2.5
 Changes from V2.0.0\r
 \r
        + Delay periods are now specified using variables and constants of\r
-         portTickType rather than unsigned long.\r
+         TickType_t rather than unsigned long.\r
        + Slight modification to task priorities.\r
 \r
 */\r
@@ -139,8 +139,8 @@ Changes from V2.0.0
 \r
 /* The Tx task will transmit the sequence of characters at a pseudo random\r
 interval.  This is the maximum and minimum block time between sends. */\r
-#define comTX_MAX_BLOCK_TIME           ( ( portTickType ) 0x15e )\r
-#define comTX_MIN_BLOCK_TIME           ( ( portTickType ) 0xc8 )\r
+#define comTX_MAX_BLOCK_TIME           ( ( TickType_t ) 0x15e )\r
+#define comTX_MIN_BLOCK_TIME           ( ( TickType_t ) 0xc8 )\r
 \r
 #define comMAX_CONSECUTIVE_ERRORS      ( 2 )\r
 \r
@@ -169,7 +169,7 @@ check that both tasks are still executing. */
 volatile short sTxCount = 0, sRxCount = 0, sSemCount = 0;\r
 \r
 /* The handle to the semaphore test task. */\r
-static xTaskHandle xSemTestTaskHandle = NULL;\r
+static TaskHandle_t xSemTestTaskHandle = NULL;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -188,7 +188,7 @@ const unsigned portBASE_TYPE uxBufferLength = 255;
 static void vComTxTask( void *pvParameters )\r
 {\r
 const char * const pcTaskStartMsg = "COM Tx task started.\r\n";\r
-portTickType xTimeToWait;\r
+TickType_t xTimeToWait;\r
 \r
        /* Stop warnings. */\r
        ( void ) pvParameters;\r
@@ -228,7 +228,7 @@ const char * const pcTaskStartMsg = "COM Rx task started.\r\n";
 const char * const pcTaskErrorMsg = "COM read error\r\n";\r
 const char * const pcTaskRestartMsg = "COM resynced\r\n";\r
 const char * const pcTaskTimeoutMsg = "COM Rx timed out\r\n";\r
-const portTickType xBlockTime = ( portTickType ) 0xffff / portTICK_RATE_MS;\r
+const TickType_t xBlockTime = ( TickType_t ) 0xffff / portTICK_PERIOD_MS;\r
 const char *pcExpectedChar;\r
 portBASE_TYPE xGotChar;\r
 char cRxedChar;\r