This commit is contained in:
parent
5b770a6407
commit
03e007fd36
@ -1059,6 +1059,9 @@ ReturnValue_t PlocSupvUartManager::parseRecRingBufForHdlc(size_t& readSize, size
|
|||||||
} else if (retval == 1) {
|
} else if (retval == 1) {
|
||||||
triggerEvent(HDLC_CRC_ERROR);
|
triggerEvent(HDLC_CRC_ERROR);
|
||||||
}
|
}
|
||||||
|
if (retval != 0) {
|
||||||
|
return HDLC_ERROR;
|
||||||
|
}
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
} else {
|
} else {
|
||||||
readSize = ++idx;
|
readSize = ++idx;
|
||||||
|
Loading…
Reference in New Issue
Block a user