Merge branch 'tm-store-task-base-bugfix' into update-ptme-code-2
This commit is contained in:
commit
7bd2fce86f
@ -84,6 +84,8 @@ TODO: New firmware package version.
|
|||||||
commands to work.
|
commands to work.
|
||||||
- Fixed the MPSoC flash write command.
|
- Fixed the MPSoC flash write command.
|
||||||
- HK TM store: The HK store dump success event was triggered for cancelled HK dumps.
|
- HK TM store: The HK store dump success event was triggered for cancelled HK dumps.
|
||||||
|
- When a PUS parsing error occured while parsing a TM store file, the dump completion procedure
|
||||||
|
was always executed.
|
||||||
|
|
||||||
# [v2.0.5] 2023-05-11
|
# [v2.0.5] 2023-05-11
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ ReturnValue_t TmStoreTaskBase::performDump(PersistentTmStoreWithTmQueue& store,
|
|||||||
ReturnValue_t result = store.getNextDumpPacket(tmReader, fileHasSwapped);
|
ReturnValue_t result = store.getNextDumpPacket(tmReader, fileHasSwapped);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
sif::error << "PersistentTmStore: Getting next dump packet failed" << std::endl;
|
sif::error << "PersistentTmStore: Getting next dump packet failed" << std::endl;
|
||||||
} else if (fileHasSwapped or result == PersistentTmStore::DUMP_DONE) {
|
} else if (fileHasSwapped and result == PersistentTmStore::DUMP_DONE) {
|
||||||
// This can happen if a file is corrupted and the next file swap completes the dump.
|
// This can happen if a file is corrupted and the next file swap completes the dump.
|
||||||
dumpDoneHandler();
|
dumpDoneHandler();
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user