missing validity check

This commit is contained in:
Robin Müller 2022-10-17 17:24:46 +02:00
parent 1aa062df7f
commit 1e43296f2b
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -14,6 +14,7 @@ SpacePacketCreator::SpacePacketCreator(ccsds::PacketType packetType, bool secHea
: params(SpacePacketParams(PacketId(packetType, secHeaderFlag, apid),
PacketSeqCtrl(seqFlags, seqCount), dataLen)) {
params.version = version;
checkFieldValidity();
}
uint16_t SpacePacketCreator::getPacketIdRaw() const { return params.packetId.raw(); }