1
0
forked from fsfw/fsfw

set struct reporting continued

This commit is contained in:
2020-09-26 15:27:06 +02:00
parent 08d0e09493
commit 6fd39dfac3
5 changed files with 36 additions and 4 deletions

View File

@ -392,5 +392,17 @@ ReturnValue_t LocalDataPoolManager::generateSetStructurePacket(sid_t sid,
sif::error << "HousekeepingManager::generateSetStructurePacket: "
"Expected size is not equal to serialized size" << std::endl;
}
CommandMessage reply;
if(isDiagnostics) {
HousekeepingMessage::setDiagnosticsStuctureReportReply(&reply,
sid, storeId);
}
else {
HousekeepingMessage::setHkStuctureReportReply(&reply,
sid, storeId);
}
hkQueue->reply(&reply);
return result;
}