missing validity check
This commit is contained in:
parent
a8041f220f
commit
652c31a683
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user