Files
fsfw/src/fsfw/tmtcpacket/pus/tc/TcPacketPusBase.cpp
Robin Mueller d7a2eada94
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
add space packet creator class
2022-07-18 10:42:56 +02:00

21 lines
549 B
C++

#include "TcPacketPusBase.h"
#include <cstring>
#include "fsfw/globalfunctions/CRC.h"
#include "fsfw/globalfunctions/arrayprinter.h"
#include "fsfw/serviceinterface/ServiceInterface.h"
TcPacketPusBase::TcPacketPusBase(const uint8_t* setData) : SpacePacketReader(setData) {}
TcPacketPusBase::~TcPacketPusBase() {}
void TcPacketPusBase::print() {
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::info << "TcPacketBase::print:" << std::endl;
#else
sif::printInfo("TcPacketBase::print:\n");
#endif
arrayprinter::print(getWholeData(), getFullSize());
}