]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/comtest_strings.c
Update version number to 8.1.1 for patch release that re-enables mutexes to be given...
[freertos] / FreeRTOS / Demo / Common / Minimal / comtest_strings.c
index 8cb32deda412b34ab7ac5f02243967182396edf4..6214a986355b48db477d1a3bbac5d191352de80f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 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
@@ -152,12 +152,12 @@ static void vComRxTask( void *pvParameters );
 \r
 /* The Rx task will toggle LED ( uxBaseLED + comRX_LED_OFFSET).  The Tx task\r
 will toggle LED ( uxBaseLED + comTX_LED_OFFSET ). */\r
-static unsigned portBASE_TYPE uxBaseLED = 0;\r
+static UBaseType_t uxBaseLED = 0;\r
 \r
 /* The Rx task toggles uxRxLoops on each successful iteration of its defined\r
 function - provided no errors have ever been latched.  If this variable stops\r
 incrementing, then an error has occurred. */\r
-static volatile unsigned portBASE_TYPE uxRxLoops = 0UL;\r
+static volatile UBaseType_t uxRxLoops = 0UL;\r
 \r
 /* The timer used to periodically transmit the string.  This is the timer that\r
 has prvComTxTimerCallback allocated to it as its callback function. */\r
@@ -169,7 +169,7 @@ static size_t xStringLength = 0U;
 \r
 /*-----------------------------------------------------------*/\r
 \r
-void vStartComTestStringsTasks( unsigned portBASE_TYPE uxPriority, unsigned long ulBaudRate, unsigned portBASE_TYPE uxLED )\r
+void vStartComTestStringsTasks( UBaseType_t uxPriority, uint32_t ulBaudRate, UBaseType_t uxLED )\r
 {\r
        /* Store values that are used at run time. */\r
        uxBaseLED = uxLED;\r
@@ -232,7 +232,7 @@ TickType_t xTimeToWait;
 \r
 static void vComRxTask( void *pvParameters )\r
 {\r
-portBASE_TYPE xState = comtstWAITING_START_OF_STRING, xErrorOccurred = pdFALSE;\r
+BaseType_t xState = comtstWAITING_START_OF_STRING, xErrorOccurred = pdFALSE;\r
 char *pcExpectedByte, cRxedChar;\r
 const xComPortHandle xPort = NULL;\r
 \r
@@ -324,9 +324,9 @@ const xComPortHandle xPort = NULL;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-portBASE_TYPE xAreComTestTasksStillRunning( void )\r
+BaseType_t xAreComTestTasksStillRunning( void )\r
 {\r
-portBASE_TYPE xReturn;\r
+BaseType_t xReturn;\r
 \r
        /* If the count of successful reception loops has not changed than at\r
        some time an error occurred (i.e. a character was received out of sequence)\r