From 18d6c565e6240cec45a82343a4554b68aa97d1f8 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 1 May 2010 01:35:52 +0000 Subject: [PATCH] Corrected mistake in sample code for xCoRoutineCreate(). --- Source/include/croutine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/include/croutine.h b/Source/include/croutine.h index c189a1e87..5411b3311 100644 --- a/Source/include/croutine.h +++ b/Source/include/croutine.h @@ -119,7 +119,7 @@ typedef struct corCoRoutineControlBlock // Variables in co-routines must be declared static if they must maintain value across a blocking call. // This may not be necessary for const variables. static const char cLedToFlash[ 2 ] = { 5, 6 }; - static const portTickType xTimeToDelay[ 2 ] = { 200, 400 }; + static const portTickType uxFlashRates[ 2 ] = { 200, 400 }; // Must start every co-routine with a call to crSTART(); crSTART( xHandle );