]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/H8S/RTOSDemo/serial/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / H8S / RTOSDemo / serial / serial.c
index 358766ddaaf72f2556facdaa6a37b13f282dedce..8ebf1d1de7fb5e17589343b6397b33801f4e3233 100644 (file)
@@ -83,8 +83,8 @@ peripheral. */
 \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
 /* Hardware specific constants. */\r
 #define serTX_INTERRUPT                                ( ( unsigned char ) 0x80 )\r
@@ -161,7 +161,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
@@ -176,7 +176,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
 signed portBASE_TYPE xReturn = pdPASS;\r
 \r