Updates prior to release of V4.4.0 due to testing.

This commit is contained in:
Richard Barry 2007-07-30 20:48:12 +00:00
parent 15268bfbeb
commit ac14fdb0b7
2 changed files with 19 additions and 24 deletions

View file

@ -274,12 +274,6 @@ portBASE_TYPE bSuicidalTask = 0;
/* Delay until it is time to execute again. */
vTaskDelay( mainCHECK_PERIOD );
/* Delete the dynamically created task. */
if( xCreatedTask != mainNO_TASK )
{
vTaskDelete( xCreatedTask );
}
/* Perform a bit of 32bit maths to ensure the registers used by the
integer tasks get some exercise. The result here is not important -
see the demo application documentation for more info. */
@ -300,6 +294,12 @@ portBASE_TYPE bSuicidalTask = 0;
/* Toggle the LED if everything is okay. */
vParTestToggleLED( mainCHECK_TASK_LED );
}
/* Delete the dynamically created task. */
if( xCreatedTask != mainNO_TASK )
{
vTaskDelete( xCreatedTask );
}
}
}
/*-----------------------------------------------------------*/