]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/HCS12_CodeWarrior_banked/serial/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / HCS12_CodeWarrior_banked / serial / serial.c
index f27b3fefd0951403bb172d2fef272171af407d9e..404d53bedfe2539f671e8968dfe49b31ef65416f 100644 (file)
@@ -82,8 +82,8 @@ to represent an optimised solution. */
 \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           ( 0x08 )\r
@@ -111,7 +111,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
@@ -126,7 +126,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