]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c
Replace use of legacy portTYPE macros from old demos and standard demo files.
[freertos] / FreeRTOS / Demo / CORTEX_LM3S102_Rowley / Demo3 / main.c
index ea664fb10ac9c3dc7f68a041923423bbc7e98d27..7bce90afe7dc97e3340021def4169c764a473976 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
@@ -141,8 +142,8 @@ static xQueueHandle xDelayQueue;
 static void prvSetupHardware( void );\r
 \r
 /* The co-routines as described at the top of the file. */\r
-static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );\r
-static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );\r
+static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );\r
+static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -204,7 +205,7 @@ static void prvSetupHardware( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )\r
+static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )\r
 {\r
 portTickType xADCResult;\r
 static portBASE_TYPE xResult = 0, xMilliSecs, xLED;\r
@@ -246,7 +247,7 @@ static portBASE_TYPE xResult = 0, xMilliSecs, xLED;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )\r
+static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )\r
 {\r
 portBASE_TYPE xResult, xNothing;\r
 \r