]> git.sur5r.net Git - freertos/commitdiff
Extend FX16 functionality.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 31 Jan 2009 13:42:20 +0000 (13:42 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 31 Jan 2009 13:42:20 +0000 (13:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@659 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MB96350_Softune_Dice_Kit/flash.c

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