tmtc bridge bugfix:
tm data deleted when overwriting old data
This commit is contained in:
parent
8cb4a9897e
commit
20c67c4aa3
@ -111,6 +111,7 @@ ReturnValue_t TmTcBridge::storeDownlinkData(TmTcMessage *message) {
|
|||||||
info << "TMTC Bridge: TM downlink max. number of stored packet IDs reached."
|
info << "TMTC Bridge: TM downlink max. number of stored packet IDs reached."
|
||||||
" Overwriting old data" << std::endl;
|
" Overwriting old data" << std::endl;
|
||||||
fifo.retrieve(&storeId);
|
fifo.retrieve(&storeId);
|
||||||
|
tmStore->deleteData(storeId);
|
||||||
}
|
}
|
||||||
storeId = message->getStorageId();
|
storeId = message->getStorageId();
|
||||||
fifo.insert(storeId);
|
fifo.insert(storeId);
|
||||||
|
Loading…
Reference in New Issue
Block a user