fixes for pus tc c

This commit is contained in:
muellerr committed 2021-06-14 11:44:39 +02:00
1 parent b1e3a1b2b5
commit 7cf4aa0d5a
3 files changed
+16

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ ReturnValue_t TcPacketCheck::checkPacket(TcPacketStoredBase* currentPacket) {
if (not currentPacket->isSizeCorrect()) {
return INCOMPLETE_PACKET;
}
condition = (tcPacketBase->getSecondaryHeaderFlag() != CCSDS_SECONDARY_HEADER_FLAG) ||
(tcPacketBase->getPusVersionNumber() != PUS_VERSION_NUMBER);
if (condition) {