fsfw/tmtcpacket/pus/tc/TcPacketBase.cpp

21 lines
546 B
C++
Raw Normal View History

2020-10-28 02:20:12 +01:00
#include "TcPacketBase.h"
2021-06-14 10:19:01 +02:00
#include "../../../globalfunctions/CRC.h"
#include "../../../globalfunctions/arrayprinter.h"
#include "../../../serviceinterface/ServiceInterface.h"
2020-10-28 02:20:12 +01:00
#include <cstring>
2021-06-13 16:29:13 +02:00
TcPacketBase::TcPacketBase(const uint8_t* setData): SpacePacketBase(setData) {}
2021-06-13 16:29:13 +02:00
TcPacketBase::~TcPacketBase() {}
void TcPacketBase::print() {
2021-01-03 14:16:52 +01:00
#if FSFW_CPP_OSTREAM_ENABLED == 1
2021-06-13 16:29:13 +02:00
sif::info << "TcPacketBase::print:" << std::endl;
#else
sif::printInfo("TcPacketBase::print:\n");
#endif
2021-06-13 16:29:13 +02:00
arrayprinter::print(getWholeData(), getFullSize());
2020-05-15 19:44:14 +02:00
}