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
Revision 6:59b01b9349d5, committed 2013-06-03
- Comitter:
- emilmont
- Date:
- Mon Jun 03 12:06:46 2013 +0100
- Parent:
- 5:698d868a5285
- Child:
- 7:99e5141a51dc
- Commit message:
- De-allocate all queued TX pbufs
Changed in this revision
| arch/lpc17_emac.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
