]> git.sur5r.net Git - freertos/commitdiff
Only include xTaskResumeFromISR under the condition:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 11 Aug 2006 10:56:12 +0000 (10:56 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 11 Aug 2006 10:56:12 +0000 (10:56 +0000)
#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

index b439aafa4b6a24c05ec7bcfacb628e9f242dd027..74c59303559b102c86d9c4b502aae206d472b5f2 100644 (file)
@@ -961,7 +961,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
 \r
 /*-----------------------------------------------------------*/\r
 \r
-#if ( INCLUDE_xTaskResumeFromISR == 1 )\r
+#if ( ( INCLUDE_xTaskResumeFromISR == 1 ) && ( INCLUDE_vTaskSuspend == 1 ) )\r
 \r
        portBASE_TYPE xTaskResumeFromISR( xTaskHandle pxTaskToResume )\r
        {\r