From 32f702004cbef61687b71fa134fb725189dbfd42 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 11 Aug 2006 10:56:12 +0000 Subject: [PATCH] Only include xTaskResumeFromISR under the condition: #if ( ( INCLUDE_xTaskResumeFromISR == 1 ) && ( INCLUDE_vTaskSuspend == 1 ) ) git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@25 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/tasks.c b/Source/tasks.c index b439aafa4..74c593035 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -961,7 +961,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat /*-----------------------------------------------------------*/ -#if ( INCLUDE_xTaskResumeFromISR == 1 ) +#if ( ( INCLUDE_xTaskResumeFromISR == 1 ) && ( INCLUDE_vTaskSuspend == 1 ) ) portBASE_TYPE xTaskResumeFromISR( xTaskHandle pxTaskToResume ) { -- 2.39.5