1
0
forked from fsfw/fsfw

cleaned up a bit

This commit is contained in:
2021-06-14 10:19:01 +02:00
parent dadba69272
commit 56d2af9d25
49 changed files with 173 additions and 196 deletions

View File

@ -118,11 +118,7 @@ uint16_t PUSDistributor::getIdentifier() {
}
ReturnValue_t PUSDistributor::initialize() {
#if FSFW_USE_PUS_C_TELECOMMANDS == 1
currentPacket = new TcPacketStoredPusC();
#else
currentPacket = new TcPacketStoredPusA();
#endif
currentPacket = new TcPacketStoredPus();
if(currentPacket == nullptr) {
// Should not happen, memory allocation failed!
return ObjectManagerIF::CHILD_INIT_FAILED;