important order bugfix
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e036ed2bff
commit
5a15d39a1d
@ -69,7 +69,6 @@ ReturnValue_t PusTmFunnel::handleTmPacket(TmTcMessage &message) {
|
|||||||
}
|
}
|
||||||
packet.setSequenceCount(sourceSequenceCount++);
|
packet.setSequenceCount(sourceSequenceCount++);
|
||||||
sourceSequenceCount = sourceSequenceCount % ccsds::LIMIT_SEQUENCE_COUNT;
|
sourceSequenceCount = sourceSequenceCount % ccsds::LIMIT_SEQUENCE_COUNT;
|
||||||
packet.updateErrorControl();
|
|
||||||
uint8_t service = packet.getMessageTypeCounter();
|
uint8_t service = packet.getMessageTypeCounter();
|
||||||
auto mapIter = msgCounterMap.find(service);
|
auto mapIter = msgCounterMap.find(service);
|
||||||
if (mapIter == msgCounterMap.end()) {
|
if (mapIter == msgCounterMap.end()) {
|
||||||
@ -81,6 +80,7 @@ ReturnValue_t PusTmFunnel::handleTmPacket(TmTcMessage &message) {
|
|||||||
mapIter->second++;
|
mapIter->second++;
|
||||||
}
|
}
|
||||||
packet.setMessageCount(mapIter->second);
|
packet.setMessageCount(mapIter->second);
|
||||||
|
packet.updateErrorControl();
|
||||||
|
|
||||||
// Send to persistent TM store if the packet matches some filter.
|
// Send to persistent TM store if the packet matches some filter.
|
||||||
MessageQueueId_t destination;
|
MessageQueueId_t destination;
|
||||||
|
Loading…
Reference in New Issue
Block a user