testArduino/fsfw/unittest/core/CatchDefinitions.cpp

12 lines
326 B
C++
Raw Normal View History

2021-06-21 15:04:15 +02:00
#include "CatchDefinitions.h"
#include <fsfw/objectmanager/ObjectManagerIF.h>
StorageManagerIF* tglob::getIpcStoreHandle() {
if(objectManager != nullptr) {
return objectManager->get<StorageManagerIF>(objects::IPC_STORE);
} else {
sif::error << "Global object manager uninitialized" << std::endl;
return nullptr;
}
}