This commit is contained in:
Robin Müller 2021-04-12 22:02:16 +02:00
parent ae1dab1fce
commit 4faa5b0685
2 changed files with 1 additions and 13 deletions

View File

@ -6,9 +6,6 @@
#include <cstring>
StorageManagerIF *TmPacketStoredPusA::store = nullptr;
InternalErrorReporterIF *TmPacketStoredPusA::internalErrorReporter = nullptr;
TmPacketStoredPusA::TmPacketStoredPusA(store_address_t setAddress) :
TmPacketStoredBase(setAddress), TmPacketPusA(nullptr){
}
@ -42,7 +39,7 @@ TmPacketStoredPusA::TmPacketStoredPusA(uint16_t apid, uint8_t service,
SerializeIF *header) :
TmPacketPusA(nullptr) {
storeAddress.raw = StorageManagerIF::INVALID_ADDRESS;
if (not TmPacketStoredBase::checkAndSetStore()) {
if (not TmPacketStoredBase::checkAndSetStore()) {
return;
}
size_t sourceDataSize = 0;

View File

@ -66,15 +66,6 @@ public:
void setDataPointer(const uint8_t* newPointer) override;
private:
/**
* This is a pointer to the store all instances of the class use.
* If the store is not yet set (i.e. @c store is NULL), every constructor
* call tries to set it and throws an error message in case of failures.
* The default store is objects::TM_STORE.
*/
static StorageManagerIF* store;
static InternalErrorReporterIF *internalErrorReporter;
/**
* The address where the packet data of the object instance is stored.