important bugfix for linux i2c device com IF #700

Merged
gaisser merged 3 commits from eive/fsfw:mueller/i2c-com-if-bugfix into development 2022-10-24 14:35:03 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 77b1a85b47 - Show all commits

View File

@ -214,7 +214,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;
}