From: richardbarry Date: Sat, 1 May 2010 01:35:52 +0000 (+0000) Subject: Corrected mistake in sample code for xCoRoutineCreate(). X-Git-Tag: V6.0.5~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e1cfbd6a4e02db17202a9bfc1c94c38fcbc1e88;p=freertos Corrected mistake in sample code for xCoRoutineCreate(). git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1012 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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 );