initialize map num

This commit is contained in:
Jakob Meier 2022-01-25 14:00:30 +01:00
parent a07468f7b7
commit 93e84fde29

View File

@ -3,7 +3,7 @@
#include "fsfw_hal/linux/uio/UioMapper.h" #include "fsfw_hal/linux/uio/UioMapper.h"
PtmeAxiConfig::PtmeAxiConfig(object_id_t objectId, std::string configAxiUio, int mapNum) : PtmeAxiConfig::PtmeAxiConfig(object_id_t objectId, std::string configAxiUio, int mapNum) :
SystemObject(objectId), configAxiUio(configAxiUio) { SystemObject(objectId), configAxiUio(configAxiUio), mapNum(mapNum) {
mutex = MutexFactory::instance()->createMutex(); mutex = MutexFactory::instance()->createMutex();
if (mutex == nullptr) { if (mutex == nullptr) {
sif::warning << "Failed to create mutex" << std::endl; sif::warning << "Failed to create mutex" << std::endl;