works for k64f
Fork of lwip-eth by
Revision 34:ed54b25cefb7, committed 2017-04-07
- Comitter:
- jerryzj
- Date:
- Fri Apr 07 14:08:28 2017 +0000
- Parent:
- 31:da93f0f73711
- Commit message:
- get Internet time success
Changed in this revision
arch/TARGET_Freescale/k64f_emac.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r da93f0f73711 -r ed54b25cefb7 arch/TARGET_Freescale/k64f_emac.c --- a/arch/TARGET_Freescale/k64f_emac.c Tue May 03 00:16:23 2016 +0100 +++ b/arch/TARGET_Freescale/k64f_emac.c Fri Apr 07 14:08:28 2017 +0000 @@ -83,10 +83,10 @@ /* 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; + //g_handle.rxBdDirty = g_handle.rxBdBase; } else { g_handle.rxBdCurrent++; - g_handle.rxBdDirty++; + //g_handle.rxBdDirty++; } /* Actives the receive buffer descriptor. */