pass ref instead of ptr

This commit is contained in:
Robin Müller 2022-07-28 15:24:32 +02:00
parent a523f4ab91
commit 85f689debc
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -50,7 +50,7 @@ ReturnValue_t TmFunnel::handlePacket(TmTcMessage *message) {
if (result != HasReturnvaluesIF::RETURN_OK) {
return result;
}
PusTmZeroCopyWriter packet(&timeReader, packetData, size);
PusTmZeroCopyWriter packet(timeReader, packetData, size);
result = packet.parseDataWithoutCrcCheck();
if(result != HasReturnvaluesIF::RETURN_OK) {
return result;