From aae4d019e7c25f8a89c5f0fa5f1fbaf12800431f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 24 Feb 2023 18:20:32 +0100 Subject: [PATCH] bugfix --- mission/tmtc/PersistentTmStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/tmtc/PersistentTmStore.cpp b/mission/tmtc/PersistentTmStore.cpp index 901bac16..35b15789 100644 --- a/mission/tmtc/PersistentTmStore.cpp +++ b/mission/tmtc/PersistentTmStore.cpp @@ -174,7 +174,7 @@ ReturnValue_t PersistentTmStore::storePacket(PusTmReader& reader) { } } if (createNewFile) { - createMostRecentFile(currentSameSecNumber++); + createMostRecentFile(suffix); } // Rollover conditions were handled, write to file now