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