Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of lwip-eth by
Diff: arch/lpc17_emac.c
- Revision:
- 6:59b01b9349d5
- Parent:
- 5:698d868a5285
- Child:
- 7:5754e05385b8
diff -r 698d868a5285 -r 59b01b9349d5 arch/lpc17_emac.c
--- 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;
