\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
\r
/* Write the message to the LCD. */\r
strcpy( cMessageForDisplay, pcText );\r
- xOLEDMessage.pcMessage = cMessageForDisplay;\r
+ xOLEDMessage.pcMessage = ( signed portCHAR * ) cMessageForDisplay;\r
xQueueSend( xOLEDQueue, &xOLEDMessage, portMAX_DELAY );\r
}\r
}\r