From: RichardBarry Date: Sat, 31 Jan 2009 13:42:20 +0000 (+0000) Subject: Extend FX16 functionality. X-Git-Tag: V5.1.2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b6b78271e3d766ab14e01f260568b3e68e09bef;p=freertos Extend FX16 functionality. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@659 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/MB96350_Softune_Dice_Kit/flash.c b/Demo/MB96350_Softune_Dice_Kit/flash.c index bbf97f595..fbd2b1391 100644 --- a/Demo/MB96350_Softune_Dice_Kit/flash.c +++ b/Demo/MB96350_Softune_Dice_Kit/flash.c @@ -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. */