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.
2 parents 20e58fc + ea652f9 commit 77a973cCopy full SHA for 77a973c
libraries/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac.c
@@ -540,7 +540,7 @@ static void packet_rx(void* pvParameters) {
540
/* Wait for receive task to wakeup */
541
sys_arch_sem_wait(&k64f_enet->RxReadySem, 0);
542
543
- if ((bdPtr[idx].control & kEnetRxBdEmpty) == 0) {
+ while ((bdPtr[idx].control & kEnetRxBdEmpty) == 0) {
544
k64f_enetif_input(k64f_enet->netif, idx);
545
idx = (idx + 1) % ENET_RX_RING_LEN;
546
}
0 commit comments