/* The 'fixed delay' co-routine as described at the top of the file.  */
static void prvFixedDelayCoRoutine(xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex)
/* The 'fixed delay' co-routine as described at the top of the file.  */
static void prvFixedDelayCoRoutine(xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex)
{
signed portBASE_TYPE xResult;
static const portTickType xFlashRates[ crfMAX_FLASH_TASKS ] = { 150 / portTICK_RATE_MS,
																200 / portTICK_RATE_MS,
																250 / portTICK_RATE_MS,
																300 / portTICK_RATE_MS,
																350 / portTICK_RATE_MS,
																400 / portTICK_RATE_MS,
																450 / portTICK_RATE_MS,
																500  / portTICK_RATE_MS };
	crSTART( xHandle );
	for( ;; )
	{
		crQUEUE_SEND( xHandle, xFlashQueue, ( void * ) &uxIndex, crfPOSTING_BLOCK_TIME, &xResult );
		if( xResult != pdPASS )
		{
			xCoRoutineFlashStatus = pdFAIL;
		}
		crDELAY( xHandle, xFlashRates[ uxIndex ] );
	}
	crEND();
}