tmtc bridge bugfix:

tm data deleted when overwriting old data
This commit is contained in:
Robin Müller 2020-04-17 23:20:47 +02:00
parent 8cb4a9897e
commit 20c67c4aa3

View File

@ -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);