From: richardbarry Date: Thu, 14 Aug 2008 13:59:59 +0000 (+0000) Subject: Use correct counter in reg test 2 task. X-Git-Tag: V5.1.2~234 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b30fcfe5c1eeedc63cf283308c0f4f9fcfcf1c3e;p=freertos Use correct counter in reg test 2 task. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@462 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c index f42fbf5ce..a8208d971 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c @@ -392,7 +392,7 @@ static void vRegTest1Task( void *pvParameters ) static void vRegTest2Task( void *pvParameters ) { /* Sanity check - did we receive the parameter expected? */ - if( pvParameters != &ulRegTest1Counter ) + if( pvParameters != &ulRegTest2Counter ) { /* Change here so the check task can detect that an error occurred. */ for( ;; );