]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/AVR_ATMega323_IAR/serial/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / AVR_ATMega323_IAR / serial / serial.c
index 9e11f837d97667e8886f7b6981886acef5496339..72f6e2c925333e751d61a3d3019727b95f1caea4 100644 (file)
@@ -85,8 +85,8 @@
 #define serUCSRC_SELECT                                        ( ( unsigned char ) 0x80 )\r
 #define serEIGHT_DATA_BITS                             ( ( unsigned char ) 0x06 )\r
 \r
-static xQueueHandle xRxedChars;\r
-static xQueueHandle xCharsForTx;\r
+static QueueHandle_t xRxedChars;\r
+static QueueHandle_t xCharsForTx;\r
 \r
 #define vInterruptOn()                                                                         \\r
 {                                                                                                                      \\r
@@ -147,7 +147,7 @@ unsigned char ucByte;
 }\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.  Return false if no characters\r
        are available, or arrive before xBlockTime expires. */\r
@@ -162,7 +162,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
        /* Return false if after the block time there is no room on the Tx queue. */\r
        if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )\r