return whether file was swapped
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -23,9 +23,11 @@ bool TmStoreTaskBase::handleOneStore(PersistentTmStoreWithTmQueue& store) {
|
||||
// Dump TMs when applicable
|
||||
if (store.getState() == PersistentTmStore::State::DUMPING) {
|
||||
size_t dumpedLen;
|
||||
bool fileHasSwapped;
|
||||
// TODO: Maybe do a bit of a delay every 100-200 packets?
|
||||
// TODO: We could continously dump until a file swap during active downlink..
|
||||
// TODO: handle returnvalue?
|
||||
result = store.dumpNextPacket(channel, dumpedLen);
|
||||
result = store.dumpNextPacket(channel, dumpedLen, fileHasSwapped);
|
||||
if (result == returnvalue::OK) {
|
||||
dumpsPerformed = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user