uint16_t correction
This commit is contained in:
parent
3f71babfa9
commit
c77ec9e7fc
@ -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