1
0
forked from fsfw/fsfw

new returnvalue DeviceComIF

explicitely setting receivedDataLen to 0 in readReceivedMessage() does
not trigger error anymore
This commit is contained in:
2020-04-19 14:52:27 +02:00
parent 62644bdfc9
commit 74b8c3eef4
2 changed files with 5 additions and 3 deletions

View File

@ -588,7 +588,7 @@ void DeviceHandlerBase::doGetRead() {
return;
}
if (receivedDataLen == 0)
if (receivedDataLen == 0 or result == DeviceCommunicationIF::NO_REPLY_RECEIVED)
return;
if (wiretappingMode == RAW) {