X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCORTEX_LM3S102_Rowley%2FDemo3%2Fmain.c;h=7bce90afe7dc97e3340021def4169c764a473976;hb=138156046589085d022b309a15ce5e35ae3269fd;hp=db9bc0860d642bfe0d1a8007d55da7ae95c6df56;hpb=abf43e0ca4466819c7c77a7bb37d72aa9175e471;p=freertos diff --git a/FreeRTOS/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c b/FreeRTOS/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c index db9bc0860..7bce90afe 100644 --- a/FreeRTOS/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c +++ b/FreeRTOS/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c @@ -142,8 +142,8 @@ static xQueueHandle xDelayQueue; static void prvSetupHardware( void ); /* The co-routines as described at the top of the file. */ -static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex ); -static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex ); +static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex ); +static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex ); /*-----------------------------------------------------------*/ @@ -205,7 +205,7 @@ static void prvSetupHardware( void ) } /*-----------------------------------------------------------*/ -static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex ) +static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex ) { portTickType xADCResult; static portBASE_TYPE xResult = 0, xMilliSecs, xLED; @@ -247,7 +247,7 @@ static portBASE_TYPE xResult = 0, xMilliSecs, xLED; } /*-----------------------------------------------------------*/ -static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex ) +static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex ) { portBASE_TYPE xResult, xNothing;