diff options
Diffstat (limited to 'Source/portable/IAR/78K0R/portmacro.h')
-rw-r--r-- | Source/portable/IAR/78K0R/portmacro.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/portable/IAR/78K0R/portmacro.h b/Source/portable/IAR/78K0R/portmacro.h index 08d68cf2..1255ff6d 100644 --- a/Source/portable/IAR/78K0R/portmacro.h +++ b/Source/portable/IAR/78K0R/portmacro.h @@ -124,9 +124,8 @@ extern volatile unsigned portSHORT usCriticalNesting; \ /* Task utilities. */
extern void vPortStart( void );
-extern void portSAVE_CONTEXT( void );
-extern void portRESTORE_CONTEXT( void );
#define portYIELD() __asm( "BRK" )
+#define portYIELD_FROM_ISR( xHigherPriorityTaskWoken ) if( xHigherPriorityTaskWoken ) vTaskSwitchContext()
#define portNOP() __asm( "NOP" )
/*-----------------------------------------------------------*/
|