]> git.sur5r.net Git - freertos/commitdiff
Use correct counter in reg test 2 task.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 14 Aug 2008 13:59:59 +0000 (13:59 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 14 Aug 2008 13:59:59 +0000 (13:59 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@462 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c

index f42fbf5ced2a89680db025ebdfae11c3389e767a..a8208d9712bb2866859a89d07c82e3a9bbe57fdc 100644 (file)
@@ -392,7 +392,7 @@ static void vRegTest1Task( void *pvParameters )
 static void vRegTest2Task( void *pvParameters )\r
 {\r
        /* Sanity check - did we receive the parameter expected? */\r
-       if( pvParameters != &ulRegTest1Counter )\r
+       if( pvParameters != &ulRegTest2Counter )\r
        {\r
                /* Change here so the check task can detect that an error occurred. */\r
                for( ;; );\r