mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-26 11:42:57 +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 )
|
static void vRegTest2Task( void *pvParameters )
|
||||||
{
|
{
|
||||||
/* Sanity check - did we receive the parameter expected? */
|
/* 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. */
|
/* Change here so the check task can detect that an error occurred. */
|
||||||
for( ;; );
|
for( ;; );
|
||||||
|
Reference in New Issue
Block a user