Add in the portYIELD_FROM_ISR() function.

pull/4/head
Richard Barry 16 years ago
parent 4555f696a8
commit 0adf3d96c4

@ -130,6 +130,9 @@ extern void portRESTORE_CONTEXT( void );
//#define portYIELD() vPortYield()
#define portYIELD() __asm ( "trap 0" )
#define portNOP() __asm ( "NOP" )
extern void vTaskSwitchContext( void );
#define portYIELD_FROM_ISR( xHigherPriorityTaskWoken ) if( xHigherPriorityTaskWoken ) vTaskSwitchContext();
/*-----------------------------------------------------------*/
/* Hardwware specifics. */

Loading…
Cancel
Save