]> 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 db9bc0860d642bfe0d1a8007d55da7ae95c6df56..7bce90afe7dc97e3340021def4169c764a473976 100644 (file)
@@ -142,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
@@ -205,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
@@ -247,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