mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-28 21:08:18 +08:00
Add in the portYIELD_FROM_ISR() function.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user