]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/HCS12_GCC_banked/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / HCS12_GCC_banked / serial.c
index 05dc9edd3590a0b9d46acb256f9204aca23f9e3d..8b88c14a46f03874122d3361d1494235ec43fe9b 100644 (file)
@@ -23,8 +23,8 @@
 \r
 /* The queues used to communicate between the task code and the interrupt\r
 service routines. */\r
-static xQueueHandle xRxedChars; \r
-static xQueueHandle xCharsForTx; \r
+static QueueHandle_t xRxedChars; \r
+static QueueHandle_t xCharsForTx; \r
 \r
 /* Interrupt identification bits. */\r
 #define serOVERRUN_INTERRUPT           ( '\x08' )\r
@@ -52,7 +52,7 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, portTickType xBlockTime )\r
+signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime )\r
 {\r
        /* Get the next character from the buffer queue.  Return false if no characters\r
        are available, or arrive before xBlockTime expires. */\r
@@ -67,7 +67,7 @@ signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedC
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, portTickType xBlockTime )\r
+signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime )\r
 {\r
        /* Place the character in the queue of characters to be transmitted. */\r
        if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )\r