event fix for file corruption #784
@ -25,6 +25,7 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
- The handling function of the GPS data is only called once per GPS read. This should remove
|
- The handling function of the GPS data is only called once per GPS read. This should remove
|
||||||
the fake fix-has-changed events.
|
the fake fix-has-changed events.
|
||||||
- Fix for PLOC SUPV HK set parsing.
|
- Fix for PLOC SUPV HK set parsing.
|
||||||
|
- The timestamp for the `POSSIBLE_FILE_CORRUPTION` event will be generated properly now.
|
||||||
|
|
||||||
## Changed
|
## Changed
|
||||||
|
|
||||||
|
@ -111,6 +111,7 @@ void ObjectFactory::produce(void* args) {
|
|||||||
new CoreController(objects::CORE_CONTROLLER, enableHkSets);
|
new CoreController(objects::CORE_CONTROLLER, enableHkSets);
|
||||||
|
|
||||||
auto* stackHandler = new Stack5VHandler(*pwrSwitcher);
|
auto* stackHandler = new Stack5VHandler(*pwrSwitcher);
|
||||||
|
static_cast<void>(stackHandler);
|
||||||
|
|
||||||
// Initialize chip select to avoid SPI bus issues.
|
// Initialize chip select to avoid SPI bus issues.
|
||||||
createRadSensorChipSelect(gpioComIF);
|
createRadSensorChipSelect(gpioComIF);
|
||||||
|
@ -320,6 +320,7 @@ ReturnValue_t PersistentTmStore::loadNextDumpFile() {
|
|||||||
}
|
}
|
||||||
// File will change, reset this field for correct state-keeping.
|
// File will change, reset this field for correct state-keeping.
|
||||||
dumpParams.currentSameFileIdx = std::nullopt;
|
dumpParams.currentSameFileIdx = std::nullopt;
|
||||||
|
dumpParams.currentFileUnixStamp = dumpParams.dumpIter->epoch;
|
||||||
// Increment iterator for next cycle.
|
// Increment iterator for next cycle.
|
||||||
dumpParams.dumpIter++;
|
dumpParams.dumpIter++;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user