use correct retval
EIVE/eive-obsw/pipeline/pr-develop This commit looks good Details

This commit is contained in:
Robin Müller 2023-02-24 18:22:36 +01:00
parent aae4d019e7
commit 66b4fc6294
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ ReturnValue_t Service15TmStorage::getMessageQueueAndObject(uint8_t subservice,
SerializeAdapter::deSerialize(objectId, &tcData, &tcDataLen, SerializeIF::Endianness::NETWORK);
auto *frontendIF = ObjectManager::instance()->get<TmStoreFrontendSimpleIF>(*objectId);
if (frontendIF == nullptr) {
return FAILED;
return CommandingServiceBase::INVALID_OBJECT;
}
*id = frontendIF->getCommandQueue();
return OK;