some bugfixes, seems to work now
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...

This commit is contained in:
2023-04-08 17:46:54 +02:00
parent aa43912279
commit 2df556c5be
2 changed files with 14 additions and 1 deletions

View File

@ -338,6 +338,8 @@ ReturnValue_t PersistentTmStore::createMostRecentFile(std::optional<uint8_t> suf
ReturnValue_t PersistentTmStore::initializeTmStore() {
Clock::getClock_timeval(&currentTv);
updateBaseDir();
// Reset active file, base directory might have changed.
activeFile = std::nullopt;
return assignAndOrCreateMostRecentFile();
}