xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );\r
}\r
\r
- /* Shortcut to calling portEND_SWITCHING_ISR(). Only do this if you\r
- understand what you are doing! Otherwise use portEND_SWITCHING_ISR()\r
- directly. */\r
- vPortYieldFromISR();\r
+ /* ulInterruptCause is used for convenience here. A context switch is\r
+ wanted, but coding portEND_SWITCHING_ISR( 1 ) would likely result in a\r
+ compiler warning. */\r
+ portEND_SWITCHING_ISR( ulInterruptCause );\r
}\r
/*-----------------------------------------------------------*/\r
\r