mbed library sources. Supersedes mbed-src.
Dependents: Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more
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; } }