important bugfix for i2c device com IF

This commit is contained in:
muellerr committed 2022-10-20 14:24:03 +02:00
1 parent 692be9df8d
commit 0c5c2f6c4f
1 file changed
+1 -1
+1 -1
View File
@@ -216,7 +216,7 @@ ReturnValue_t I2cComIF::readReceivedMessage(CookieIF* cookie, uint8_t** buffer,
}
*buffer = i2cDeviceMapIter->second.replyBuffer.data();
*size = i2cDeviceMapIter->second.replyLen;
i2cDeviceMapIter->second.replyLen = 0;
return returnvalue::OK;
}