fix in mem write command

This commit is contained in:
Jakob Meier
2022-03-17 19:51:00 +01:00
parent 9dc124004d
commit b8fb5c289c
8 changed files with 17 additions and 8 deletions

View File

@ -267,6 +267,7 @@ ReturnValue_t PlocMPSoCHandler::prepareTcMemWriteCommand(const uint8_t * command
mpsoc::TcMemWrite tcMemWrite(sequenceCount);
result = tcMemWrite.createPacket(commandData, commandDataLen);
if (result != RETURN_OK) {
sequenceCount--;
return result;
}
copyToCommandBuffer(&tcMemWrite);