]> git.sur5r.net Git - freertos/commitdiff
Continue development of the MSP430X port layer for IAR. Still a work in progress.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 31 Dec 2010 17:55:52 +0000 (17:55 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 31 Dec 2010 17:55:52 +0000 (17:55 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1198 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/IAR/MSP430X/portmacro.h

index 42d8c7d4d5af0f38806990269861f2bfa75b39f4..0e8e6fb5ccda42b6511cb2df59e007ec23883c66 100644 (file)
@@ -145,10 +145,8 @@ extern void vPortYield( void );
 #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