Extend FX16 functionality.

This commit is contained in:
Richard Barry 2009-01-31 13:42:20 +00:00
parent 269de4b1e7
commit 0e91b60a7d

View File

@ -91,7 +91,7 @@ static xTaskHandle xCoroutineTask;
/*-----------------------------------------------------------*/
void vStartLEDFlashTasks( unsigned portBASE_TYPE uxPriority )
void vCreateFlashTasksAndCoRoutines( void )
{
signed short sLEDTask;
@ -99,7 +99,7 @@ signed short sLEDTask;
for( sLEDTask = 0; sLEDTask < ledNUMBER_OF_LEDS; ++sLEDTask )
{
/* Spawn the task. */
xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDt", ledSTACK_SIZE, ( void * ) sLEDTask, uxPriority, &( xFlashTaskHandles[ sLEDTask ] ) );
xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDt", ledSTACK_SIZE, ( void * ) sLEDTask, ( tskIDLE_PRIORITY + 1 ), &( xFlashTaskHandles[ sLEDTask ] ) );
}
/* Create the task in which the co-routines run. */