Continue FX16 demo development.

pull/4/head
Richard Barry 16 years ago
parent f88f5afa3b
commit 46c3268670

@ -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 ] );
}

Loading…
Cancel
Save