app data size uint16_t
This commit is contained in:
parent
eb5832180b
commit
1c967d4739
@ -28,7 +28,7 @@ const uint8_t* TcPacketBase::getApplicationData() const {
|
||||
return &tcData->data;
|
||||
}
|
||||
|
||||
size_t TcPacketBase::getApplicationDataSize() {
|
||||
uint16_t TcPacketBase::getApplicationDataSize() {
|
||||
return getPacketDataLength() - sizeof(tcData->data_field) - CRC_SIZE + 1;
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,7 @@ public:
|
||||
* @return The size of the PUS Application Data (without Error Control
|
||||
* field)
|
||||
*/
|
||||
size_t getApplicationDataSize();
|
||||
uint16_t getApplicationDataSize();
|
||||
/**
|
||||
* This getter returns the Error Control Field of the packet.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user