From: richardbarry Date: Fri, 31 Dec 2010 17:55:52 +0000 (+0000) Subject: Continue development of the MSP430X port layer for IAR. Still a work in progress. X-Git-Tag: V6.1.1~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39d3c1f0aab0fae5b64bf67cba1d9e61b3c5d226;p=freertos Continue development of the MSP430X port layer for IAR. Still a work in progress. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1198 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/IAR/MSP430X/portmacro.h b/Source/portable/IAR/MSP430X/portmacro.h index 42d8c7d4d..0e8e6fb5c 100644 --- a/Source/portable/IAR/MSP430X/portmacro.h +++ b/Source/portable/IAR/MSP430X/portmacro.h @@ -145,10 +145,8 @@ extern void vPortYield( void ); #define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters ) #define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters ) -#if configINTERRUPT_EXAMPLE_METHOD == 2 - extern void vTaskSwitchContext( void ); - #define portYIELD_FROM_ISR( x ) if( x ) vTaskSwitchContext() -#endif /* configINTERRUPT_EXAMPLE_METHOD */ +extern void vTaskSwitchContext( void ); +#define portYIELD_FROM_ISR( x ) if( x ) vPortYield() void vApplicationSetupTimerInterrupt( void );