From 012a7c9b61ece5aec5c3a98e728e59fdcc9329ae Mon Sep 17 00:00:00 2001 From: rtel Date: Tue, 11 Feb 2014 12:04:59 +0000 Subject: Update the demo directory to use the version 8 type naming conventions. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2202 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Demo/Common/Full/print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FreeRTOS/Demo/Common/Full/print.c') diff --git a/FreeRTOS/Demo/Common/Full/print.c b/FreeRTOS/Demo/Common/Full/print.c index 1fe147210..1cb3f77fb 100644 --- a/FreeRTOS/Demo/Common/Full/print.c +++ b/FreeRTOS/Demo/Common/Full/print.c @@ -91,7 +91,7 @@ Changes from V2.0.0 + Delay periods are now specified using variables and constants of - portTickType rather than unsigned long. + TickType_t rather than unsigned long. */ #include @@ -103,7 +103,7 @@ Changes from V2.0.0 /* Demo program include files. */ #include "print.h" -static xQueueHandle xPrintQueue; +static QueueHandle_t xPrintQueue; /*-----------------------------------------------------------*/ @@ -119,7 +119,7 @@ const unsigned portBASE_TYPE uxQueueSize = 20; void vPrintDisplayMessage( const char * const * ppcMessageToSend ) { #ifdef USE_STDIO - xQueueSend( xPrintQueue, ( void * ) ppcMessageToSend, ( portTickType ) 0 ); + xQueueSend( xPrintQueue, ( void * ) ppcMessageToSend, ( TickType_t ) 0 ); #else /* Stop warnings. */ ( void ) ppcMessageToSend; @@ -127,7 +127,7 @@ void vPrintDisplayMessage( const char * const * ppcMessageToSend ) } /*-----------------------------------------------------------*/ -const char *pcPrintGetNextMessage( portTickType xPrintRate ) +const char *pcPrintGetNextMessage( TickType_t xPrintRate ) { char *pcMessage; -- cgit v1.2.1