WIP: somethings wrong.. #19

Closed
muellerr wants to merge 808 commits from source/master into master
Showing only changes of commit 5b41f2a6bd - Show all commits

View File

@ -52,8 +52,7 @@ void TcPacketBase::setData(const uint8_t* pData) {
}
void TcPacketBase::setApplicationData(const uint8_t * pData, uint16_t dataLen) {
SpacePacketBase::setData(pData);
tcData = (TcPacketPointer*) pData;
setData(pData);
SpacePacketBase::setPacketDataLength(dataLen +
sizeof(PUSTcDataFieldHeader) + TcPacketBase::CRC_SIZE-1);
}