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

@ -253,7 +253,8 @@ private:
ReturnValue_t lengthCheck(size_t commandDataLen) {
if (commandDataLen < MIN_COMMAND_DATA_LENGTH) {
return INVALID_LENGTH;
sif::warning << "TcMemWrite: Command has invalid length " << commandDataLen << std::endl;
return INVALID_LENGTH;
}
return RETURN_OK;
}