/*\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
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
/* Demo program include files. */\r
#include "print.h"\r
\r
-static xQueueHandle xPrintQueue;\r
+static QueueHandle_t xPrintQueue;\r
\r
/*-----------------------------------------------------------*/\r
\r
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
}\r
/*-----------------------------------------------------------*/\r
\r
-const char *pcPrintGetNextMessage( portTickType xPrintRate )\r
+const char *pcPrintGetNextMessage( TickType_t xPrintRate )\r
{\r
char *pcMessage;\r
\r