From 39d3c1f0aab0fae5b64bf67cba1d9e61b3c5d226 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 31 Dec 2010 17:55:52 +0000 Subject: [PATCH] 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 --- Source/portable/IAR/MSP430X/portmacro.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 ); -- 2.39.5