From 2ad4770e4c3c78f7efe3b92535f04af57b4d2200 Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Sat, 31 Jan 2009 11:00:54 +0000 Subject: [PATCH] Continue FX16 demo development. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ] ); } -- 2.39.5