\r
void vEMAC_ISR( void )\r
{\r
-portBASE_TYPE xSwitchRequired = pdFALSE;\r
+portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
unsigned portLONG ulTemp;\r
\r
/* Clear the interrupt. */\r
/* Was it an Rx interrupt? */\r
if( ulTemp & ETH_INT_RX )\r
{\r
- xSwitchRequired = pdTRUE;\r
- xSemaphoreGiveFromISR( xMACInterruptSemaphore, pdFALSE );\r
+ xSemaphoreGiveFromISR( xMACInterruptSemaphore, &xHigherPriorityTaskWoken );\r
EthernetIntDisable( ETH_BASE, ETH_INT_RX );\r
}\r
\r
/* Switch to the uIP task. */\r
- portEND_SWITCHING_ISR( xSwitchRequired );\r
+ portEND_SWITCHING_ISR( xHigherPriorityTaskWoken );\r
}\r
/*-----------------------------------------------------------*/\r
\r