Merge remote-tracking branch 'origin/develop' into mueller/master

This commit is contained in:
2021-05-17 16:02:04 +02:00
committed by Robin Mueller
35 changed files with 2910 additions and 292 deletions

View File

@ -363,6 +363,9 @@ ReturnValue_t UartComIF::readReceivedMessage(CookieIF *cookie,
*buffer = uartDeviceMapIter->second.replyBuffer.data();
*size = uartDeviceMapIter->second.replyLen;
/* Length is reset to 0 to prevent reading the same data twice */
uartDeviceMapIter->second.replyLen = 0;
return RETURN_OK;
}