We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4d09f commit b3e5c97Copy full SHA for b3e5c97
targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c
@@ -432,7 +432,7 @@ static void txdscr_init()
432
txdesc[i].Status = TX_LAST_SEGM | TX_FIRST_SEGM;;
433
txdesc[i].Ctrl = 0;
434
txdesc[i].BufAddr1 = (uint32_t)&txbuf[i];
435
- if (i == (NUM_RX_FRAG - 1)) {
+ if (i == (NUM_TX_FRAG - 1)) {
436
txdesc[i].Status |= TX_END_RING;
437
}
438
0 commit comments