diff --git a/Source/portable/Renesas/RX600/portmacro.h b/Source/portable/Renesas/RX600/portmacro.h index 8bc1667e3..82cf1676b 100644 --- a/Source/portable/Renesas/RX600/portmacro.h +++ b/Source/portable/Renesas/RX600/portmacro.h @@ -105,7 +105,7 @@ vector 27. */ #define portYIELD() *portITU_SWINTR = 0x01; nop(); nop(); nop(); nop(); nop() 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()