From 8e1cfbd6a4e02db17202a9bfc1c94c38fcbc1e88 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 1 May 2010 01:35:52 +0000 Subject: [PATCH] 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 --- 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 ); -- 2.39.5