]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/portable/NetworkInterface/SH2A/NetworkInterface.c
Change version number in common files within the FreeRTOS-plus directory and check...
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-UDP / portable / NetworkInterface / SH2A / NetworkInterface.c
index 6a0afdffab72653aecd8143694c84efbd86aa23d..f5cdd6db03aa8e35a2a87dc95939c07d700ea4b9 100644 (file)
@@ -127,35 +127,4 @@ extern void vEMACCopyWrite( uint8_t * pucBuffer, uint16_t usLength );
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-#if 0\r
-void ENET_IRQHandler( void )\r
-{\r
-uint32_t ulInterruptCause;\r
-\r
-       while( ( ulInterruptCause = LPC_EMAC->IntStatus ) != 0 )\r
-       {\r
-               /* Clear the interrupt. */\r
-               LPC_EMAC->IntClear = ulInterruptCause;\r
-\r
-               /* Clear fatal error conditions.  NOTE:  The driver does not clear all\r
-               errors, only those actually experienced.  For future reference, range\r
-               errors are not actually errors so can be ignored. */\r
-               if( ( ulInterruptCause & EMAC_INT_TX_UNDERRUN ) != 0U )\r
-               {\r
-                       LPC_EMAC->Command |= EMAC_CR_TX_RES;\r
-               }\r
-\r
-               /* Unblock the deferred interrupt handler task if the event was an\r
-               Rx. */\r
-               if( ( ulInterruptCause & EMAC_INT_RX_DONE ) != 0UL )\r
-               {\r
-                       xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );\r
-               }\r
-       }\r
-\r
-       /* Shortcut calling portEND_SWITCHING_ISR(). */\r
-       vPortYieldFromISR();\r
-}\r
-/*-----------------------------------------------------------*/\r
-#endif\r
 \r