]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Full/print.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / Common / Full / print.c
index 1fe147210de53a70071cb31aefcdf4ed152dc475..1cb3f77fbbad03c13c52ed9c73b3e9e9eb5cb66a 100644 (file)
@@ -91,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
@@ -103,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
@@ -119,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
@@ -127,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