cleaned up a bit
This commit is contained in:
20
tmtcpacket/pus/tc/TcPacketBase.cpp
Normal file
20
tmtcpacket/pus/tc/TcPacketBase.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include "TcPacketBase.h"
|
||||
|
||||
#include "../../../globalfunctions/CRC.h"
|
||||
#include "../../../globalfunctions/arrayprinter.h"
|
||||
#include "../../../serviceinterface/ServiceInterface.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
TcPacketBase::TcPacketBase(const uint8_t* setData): SpacePacketBase(setData) {}
|
||||
|
||||
TcPacketBase::~TcPacketBase() {}
|
||||
|
||||
void TcPacketBase::print() {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::info << "TcPacketBase::print:" << std::endl;
|
||||
#else
|
||||
sif::printInfo("TcPacketBase::print:\n");
|
||||
#endif
|
||||
arrayprinter::print(getWholeData(), getFullSize());
|
||||
}
|
Reference in New Issue
Block a user