From: RichardBarry Date: Sat, 31 Jan 2009 11:00:54 +0000 (+0000) Subject: Continue FX16 demo development. X-Git-Tag: V5.1.2~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ad4770e4c3c78f7efe3b92535f04af57b4d2200;p=freertos Continue FX16 demo development. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@657 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/MB96350_Softune_Dice_Kit/flash.c b/Demo/MB96350_Softune_Dice_Kit/flash.c index 76b16997b..d8bd03414 100644 --- a/Demo/MB96350_Softune_Dice_Kit/flash.c +++ b/Demo/MB96350_Softune_Dice_Kit/flash.c @@ -99,7 +99,7 @@ signed portBASE_TYPE xLEDTask; } /*-----------------------------------------------------------*/ -void vToggleFlashTaskSuspendState( void ) +void vSuspendFlashTasks( short sSuspendTasks ) { signed portBASE_TYPE xLEDTask; @@ -107,7 +107,7 @@ signed portBASE_TYPE xLEDTask; { if( xFlashTaskHandles[ xLEDTask ] != NULL ) { - if( xTaskIsTaskSuspended( xFlashTaskHandles[ xLEDTask ] ) == pdFALSE ) + if( sSuspendTasks == pdTRUE ) { vTaskSuspend( xFlashTaskHandles[ xLEDTask ] ); }