]> git.sur5r.net Git - freertos/commitdiff
Corrected mistake in sample code for xCoRoutineCreate().
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 1 May 2010 01:35:52 +0000 (01:35 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 1 May 2010 01:35:52 +0000 (01:35 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1012 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/croutine.h

index c189a1e87edf646b9e8cb0adb0e87962c9f0cdb2..5411b3311b8a4967df9fe0f98c4beaca0c6977c0 100644 (file)
@@ -119,7 +119,7 @@ typedef struct corCoRoutineControlBlock
  // Variables in co-routines must be declared static if they must maintain value across a blocking call.\r
  // This may not be necessary for const variables.\r
  static const char cLedToFlash[ 2 ] = { 5, 6 };\r
- static const portTickType xTimeToDelay[ 2 ] = { 200, 400 };\r
+ static const portTickType uxFlashRates[ 2 ] = { 200, 400 };\r
 \r
      // Must start every co-routine with a call to crSTART();\r
      crSTART( xHandle );\r