default argument

This commit is contained in:
Jakob Meier 2022-04-21 09:33:06 +02:00
parent e949368b06
commit 613dbe9592

View File

@ -25,7 +25,7 @@ class SpacePacket : public SpacePacketBase {
* @param apid Sets the packet's APID field. The default value describes an idle packet.
* @param sequenceCount ets the packet's Source Sequence Count field.
*/
SpacePacket(uint16_t packetDataLength, bool isTelecommand = false,
SpacePacket(uint16_t packetDataLength = PACKET_MAX_SIZE, bool isTelecommand = false,
uint16_t apid = APID_IDLE_PACKET, uint16_t sequenceCount = 0);
/**
* The class's default destructor.