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.
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c
- Revision:
 - 151:5eaa88a5bcc7
 - Parent:
 - 149:156823d33999
 - Child:
 - 160:d5399cc887bb
 
--- a/targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c	Tue Nov 08 17:45:16 2016 +0000
+++ b/targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c	Thu Nov 24 17:03:03 2016 +0000
@@ -432,7 +432,7 @@
         txdesc[i].Status = TX_LAST_SEGM | TX_FIRST_SEGM;;
         txdesc[i].Ctrl   = 0;
         txdesc[i].BufAddr1   = (uint32_t)&txbuf[i];
-        if (i == (NUM_RX_FRAG - 1)) {
+        if (i == (NUM_TX_FRAG - 1)) {
             txdesc[i].Status |= TX_END_RING;
         }
     }
    