1
0
forked from fsfw/fsfw

fixes for pus tc c

This commit is contained in:
2021-06-14 11:44:39 +02:00
parent b1e3a1b2b5
commit 7cf4aa0d5a
3 changed files with 16 additions and 0 deletions

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) {