moved store failure to separate function
This commit is contained in:
parent
91f43d00a2
commit
2124f36e36
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
TmPacketStoredPusA::TmPacketStoredPusA(store_address_t setAddress) :
|
TmPacketStoredPusA::TmPacketStoredPusA(store_address_t setAddress):
|
||||||
TmPacketStoredBase(setAddress), TmPacketPusA(nullptr){
|
TmPacketStoredBase(setAddress), TmPacketPusA(nullptr){
|
||||||
}
|
}
|
||||||
|
|
||||||
TmPacketStoredPusA::TmPacketStoredPusA(uint16_t apid, uint8_t service,
|
TmPacketStoredPusA::TmPacketStoredPusA(uint16_t apid, uint8_t service,
|
||||||
uint8_t subservice, uint8_t packetSubcounter, const uint8_t *data,
|
uint8_t subservice, uint8_t packetSubcounter, const uint8_t *data,
|
||||||
uint32_t size, const uint8_t *headerData, uint32_t headerSize) :
|
uint32_t size, const uint8_t *headerData, uint32_t headerSize):
|
||||||
TmPacketPusA(nullptr) {
|
TmPacketPusA(nullptr) {
|
||||||
storeAddress.raw = StorageManagerIF::INVALID_ADDRESS;
|
storeAddress.raw = StorageManagerIF::INVALID_ADDRESS;
|
||||||
if (not TmPacketStoredBase::checkAndSetStore()) {
|
if (not TmPacketStoredBase::checkAndSetStore()) {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* packets in a store with the help of a storeAddress.
|
* packets in a store with the help of a storeAddress.
|
||||||
* @ingroup tmtcpackets
|
* @ingroup tmtcpackets
|
||||||
*/
|
*/
|
||||||
class TmPacketStoredPusA :
|
class TmPacketStoredPusA:
|
||||||
public TmPacketStoredBase,
|
public TmPacketStoredBase,
|
||||||
public TmPacketPusA {
|
public TmPacketPusA {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user