From b30fcfe5c1eeedc63cf283308c0f4f9fcfcf1c3e Mon Sep 17 00:00:00 2001 From: richardbarry Date: Thu, 14 Aug 2008 13:59:59 +0000 Subject: [PATCH] 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 --- Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( ;; ); -- 2.39.5