/* Simply check for errors and toggle the onboard LED.  */
static void prvErrorChecks(void *pvParameters)
/* Simply check for errors and toggle the onboard LED.  */
static void prvErrorChecks(void *pvParameters)
{
portTickType xDelay = mainNO_ERROR_DELAY;
	( void ) pvParameters;
	for( ;; )
	{
		vTaskDelay( xDelay );
		prvMainCheckOtherTasksAreStillRunning();
		if( lErrorInTask )
		{
			xDelay = mainERROR_DELAY;
		}
		prvToggleOnBoardLED();
	}
}