]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/dsPIC_MPLAB/serial/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / dsPIC_MPLAB / serial / serial.c
index 131bf9c6a6fc80746f63a2e3bbfb70bf2dcd0a69..6150b377a6fcc375adf26853f71d44ee40c0119f 100644 (file)
@@ -105,8 +105,8 @@ an example of an efficient driver. */
 \r
 \r
 /* The queues used to communicate between tasks and ISR's. */\r
-static xQueueHandle xRxedChars; \r
-static xQueueHandle xCharsForTx; \r
+static QueueHandle_t xRxedChars; \r
+static QueueHandle_t xCharsForTx; \r
 \r
 static portBASE_TYPE xTxHasEnded;\r
 /*-----------------------------------------------------------*/\r
@@ -163,7 +163,7 @@ char cChar;
 }\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
        /* Only one port is supported. */\r
        ( void ) pxPort;\r
@@ -181,7 +181,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
        /* Only one port is supported. */\r
        ( void ) pxPort;\r