fix(SF-60): Багфикс

This commit is contained in:
algin 2023-10-27 14:34:26 +03:00
parent 75a0d57eb4
commit edd9c2d423

View File

@ -132,7 +132,10 @@ void free_rtos::EthRxFlow::rxProcessPktTask()
EnetAppUtils_assert(status == ENET_SOK);
readyQCount = EnetQueue_getQCount(&rxReadyQ);
EnetAppUtils_assert(readyQCount != 0);
if(readyQCount == 0) {
break;
}
// Reload DMA with a new rx free queue as fast as possible
submitFreeRxPkts(readyQCount);