optimization
This commit is contained in:
parent
c77ec9e7fc
commit
5b41f2a6bd
@ -52,8 +52,7 @@ void TcPacketBase::setData(const uint8_t* pData) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TcPacketBase::setApplicationData(const uint8_t * pData, uint16_t dataLen) {
|
void TcPacketBase::setApplicationData(const uint8_t * pData, uint16_t dataLen) {
|
||||||
SpacePacketBase::setData(pData);
|
setData(pData);
|
||||||
tcData = (TcPacketPointer*) pData;
|
|
||||||
SpacePacketBase::setPacketDataLength(dataLen +
|
SpacePacketBase::setPacketDataLength(dataLen +
|
||||||
sizeof(PUSTcDataFieldHeader) + TcPacketBase::CRC_SIZE-1);
|
sizeof(PUSTcDataFieldHeader) + TcPacketBase::CRC_SIZE-1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user