]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/msp430_CrossWorks/serial/serial.c
Update version number to V8.0.0 (without the release candidate number).
[freertos] / FreeRTOS / Demo / msp430_CrossWorks / serial / serial.c
index 14f4f9f5f8983b7ad20428f6c9c371a5e10df6ec..69854a8c8a280ac0a68eb12119d0faafa52cf789 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd. \r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 #define serTX_AND_RX                   ( ( unsigned char ) 0x03 )\r
 \r
 /* Misc. constants. */\r
-#define serNO_BLOCK                            ( ( portTickType ) 0 )\r
+#define serNO_BLOCK                            ( ( TickType_t ) 0 )\r
 \r
 /* Enable the UART Tx interrupt. */\r
 #define vInterruptOn() IFG2 |= UTXIFG1\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
@@ -153,7 +153,7 @@ unsigned long ulBaudRateCount;
 }\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
@@ -168,7 +168,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