mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-25 02:26:34 +08:00
Use correct counter in reg test 2 task.
This commit is contained in:
@ -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( ;; );
|
||||
|
Reference in New Issue
Block a user