diff options
author | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2014-02-11 12:04:59 +0000 |
---|---|---|
committer | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2014-02-11 12:04:59 +0000 |
commit | 012a7c9b61ece5aec5c3a98e728e59fdcc9329ae (patch) | |
tree | 602a4c29560a57b40068e082bdd770d46aba2b2b /FreeRTOS/Demo/Common/Full/print.c | |
parent | 284b2ecc28ff3da5a1bde899ace6304998ca5ec7 (diff) | |
download | freertos-012a7c9b61ece5aec5c3a98e728e59fdcc9329ae.tar.gz |
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
Diffstat (limited to 'FreeRTOS/Demo/Common/Full/print.c')
-rw-r--r-- | FreeRTOS/Demo/Common/Full/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <stdlib.h>
@@ -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;
|