V1
Fork of lwip-eth by
Diff: arch/lpc17_emac.c
- Revision:
- 6:59b01b9349d5
- Parent:
- 5:698d868a5285
- Child:
- 7:99e5141a51dc
--- a/arch/lpc17_emac.c Thu May 30 17:15:45 2013 +0100 +++ b/arch/lpc17_emac.c Mon Jun 03 12:06:46 2013 +0100 @@ -823,7 +823,7 @@ LPC_EMAC->IntClear = EMAC_INT_TX_UNDERRUN; /* De-allocate all queued TX pbufs */ - for (idx = 0; idx < LPC_NUM_BUFF_RXDESCS; idx++) { + for (idx = 0; idx < LPC_NUM_BUFF_TXDESCS; idx++) { if (lpc_enetif->txb[idx] != NULL) { pbuf_free(lpc_enetif->txb[idx]); lpc_enetif->txb[idx] = NULL;