]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Full/print.c
***IMMINENT RELEASE NOTICE***
[freertos] / FreeRTOS / Demo / Common / Full / print.c
index 89a612d7f1468c371fd796612cf1e6b1daa06072..54eac9105a5621310e295778b6e696952ae91e14 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.1 - 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
 \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
@@ -90,7 +91,7 @@
 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
 */\r
 \r
 #include <stdlib.h>\r
@@ -102,7 +103,7 @@ Changes from V2.0.0
 /* Demo program include files. */\r
 #include "print.h"\r
 \r
-static xQueueHandle xPrintQueue;\r
+static QueueHandle_t xPrintQueue;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -118,7 +119,7 @@ const unsigned portBASE_TYPE uxQueueSize = 20;
 void vPrintDisplayMessage( const char * const * ppcMessageToSend )\r
 {\r
        #ifdef USE_STDIO\r
-               xQueueSend( xPrintQueue, ( void * ) ppcMessageToSend, ( portTickType ) 0 );\r
+               xQueueSend( xPrintQueue, ( void * ) ppcMessageToSend, ( TickType_t ) 0 );\r
        #else\r
        /* Stop warnings. */\r
                ( void ) ppcMessageToSend;\r
@@ -126,7 +127,7 @@ void vPrintDisplayMessage( const char * const * ppcMessageToSend )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-const char *pcPrintGetNextMessage( portTickType xPrintRate )\r
+const char *pcPrintGetNextMessage( TickType_t xPrintRate )\r
 {\r
 char *pcMessage;\r
 \r