fix(SF-60): Багфикс
This commit is contained in:
parent
75a0d57eb4
commit
edd9c2d423
@ -132,7 +132,10 @@ void free_rtos::EthRxFlow::rxProcessPktTask()
|
|||||||
EnetAppUtils_assert(status == ENET_SOK);
|
EnetAppUtils_assert(status == ENET_SOK);
|
||||||
|
|
||||||
readyQCount = EnetQueue_getQCount(&rxReadyQ);
|
readyQCount = EnetQueue_getQCount(&rxReadyQ);
|
||||||
EnetAppUtils_assert(readyQCount != 0);
|
|
||||||
|
if(readyQCount == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// Reload DMA with a new rx free queue as fast as possible
|
// Reload DMA with a new rx free queue as fast as possible
|
||||||
submitFreeRxPkts(readyQCount);
|
submitFreeRxPkts(readyQCount);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user