remove two lines to prevent crash during compile for the mbed frdm k64f

Fork of lwip-eth by mbed official

Files at this revision

API Documentation at this revision

Comitter:
Frostworks
Date:
Fri Apr 14 13:41:09 2017 +0000
Parent:
33:9de8bd8ca1c8
Commit message:
Removed two lines to prevent compile crash for frdm-k64f

Changed in this revision

arch/TARGET_Freescale/k64f_emac.c Show annotated file Show diff for this revision Revisions of this file
--- a/arch/TARGET_Freescale/k64f_emac.c	Thu May 26 09:00:26 2016 +0100
+++ b/arch/TARGET_Freescale/k64f_emac.c	Fri Apr 14 13:41:09 2017 +0000
@@ -83,10 +83,8 @@
     /* Increases the buffer descriptor to the next one. */
     if (g_handle.rxBdCurrent->control & ENET_BUFFDESCRIPTOR_RX_WRAP_MASK) {
         g_handle.rxBdCurrent = g_handle.rxBdBase;
-        g_handle.rxBdDirty = g_handle.rxBdBase;
     } else {
         g_handle.rxBdCurrent++;
-        g_handle.rxBdDirty++;
     }
 
     /* Actives the receive buffer descriptor. */