Implemented portYIELD_FROM_ISR() for RX port.

This commit is contained in:
Richard Barry 2010-08-20 19:10:42 +00:00
parent 4b3cf6221b
commit 27683e7360

View file

@ -105,7 +105,7 @@ vector 27. */
#define portYIELD() *portITU_SWINTR = 0x01; nop(); nop(); nop(); nop(); nop() #define portYIELD() *portITU_SWINTR = 0x01; nop(); nop(); nop(); nop(); nop()
extern void vTaskSwitchContext( void ); extern void vTaskSwitchContext( void );
#define portYIELD_FROM_ISR( x ) if( x != pdFALSE ) vTaskSwitchContext() #define portYIELD_FROM_ISR( x ) if( x != pdFALSE ) portYIELD()
/* /*
* These macros should be called directly, but through the taskENTER_CRITICAL() * These macros should be called directly, but through the taskENTER_CRITICAL()