#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )\r
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )\r
\r
-#if configINTERRUPT_EXAMPLE_METHOD == 2\r
- extern void vTaskSwitchContext( void );\r
- #define portYIELD_FROM_ISR( x ) if( x ) vTaskSwitchContext()\r
-#endif /* configINTERRUPT_EXAMPLE_METHOD */\r
+extern void vTaskSwitchContext( void );\r
+#define portYIELD_FROM_ISR( x ) if( x ) vPortYield()\r
\r
void vApplicationSetupTimerInterrupt( void );\r
\r