]> git.sur5r.net Git - freertos/commitdiff
Continue FX16 demo development.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 31 Jan 2009 11:00:54 +0000 (11:00 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 31 Jan 2009 11:00:54 +0000 (11:00 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@657 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MB96350_Softune_Dice_Kit/flash.c

index 76b16997b6c5dcd78dfdd38ddb24686189cef2cb..d8bd03414d18af2ea7edc80e254055b0caf91540 100644 (file)
@@ -99,7 +99,7 @@ signed portBASE_TYPE xLEDTask;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vToggleFlashTaskSuspendState( void )\r
+void vSuspendFlashTasks( short sSuspendTasks )\r
 {\r
 signed portBASE_TYPE xLEDTask;\r
 \r
@@ -107,7 +107,7 @@ signed portBASE_TYPE xLEDTask;
        {\r
                if( xFlashTaskHandles[ xLEDTask ] != NULL )\r
                {\r
-                       if( xTaskIsTaskSuspended( xFlashTaskHandles[ xLEDTask ] ) == pdFALSE )\r
+                       if( sSuspendTasks == pdTRUE )\r
                        {\r
                                vTaskSuspend( xFlashTaskHandles[ xLEDTask ] );\r
                        }\r