]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / MB96340_Softune / FreeRTOS_96348hs_SK16FX100PMC / Src / serial / serial.c
index 0bcbcc97126a43710545122a1aa19c6d89b4041d..16e16c7d18ee0ce4b4172e5d791ddae0d89d6041 100644 (file)
 #include "serial.h"\r
 \r
 /* The queue used to hold received characters. */\r
-static xQueueHandle                    xRxedChars;\r
+static QueueHandle_t                   xRxedChars;\r
 \r
 /* The queue used to hold characters waiting transmission. */\r
-static xQueueHandle                    xCharsForTx;\r
+static QueueHandle_t                   xCharsForTx;\r
 \r
 static volatile short  sTHREEmpty;\r
 \r
@@ -129,7 +129,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.  Return false if no characters\r
        are available, or arrive before xBlockTime expires. */\r
@@ -144,7 +144,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;\r
 \r