From: richardbarry Date: Fri, 11 Aug 2006 10:56:12 +0000 (+0000) Subject: Only include xTaskResumeFromISR under the condition: X-Git-Tag: V4.0.5~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32f702004cbef61687b71fa134fb725189dbfd42;p=freertos 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 --- 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 ) {