diff --git a/bsp_hosted/dummies/TemperatureSensorsDummy.cpp b/bsp_hosted/dummies/TemperatureSensorsDummy.cpp index 71926080..a7774f5b 100644 --- a/bsp_hosted/dummies/TemperatureSensorsDummy.cpp +++ b/bsp_hosted/dummies/TemperatureSensorsDummy.cpp @@ -61,10 +61,10 @@ void TemperatureSensorsDummy::performControlOperation() { ReturnValue_t TemperatureSensorsDummy::initializeLocalDataPool( localpool::DataPool& localDataPoolMap, LocalDataPoolManager& poolManager) { - localDataPoolMap.emplace(Max31865Definitions::PoolIds::RTD_VALUE, new PoolEntry({0})); - localDataPoolMap.emplace(Max31865Definitions::PoolIds::TEMPERATURE_C, + localDataPoolMap.emplace(MAX31865::PoolIds::RTD_VALUE, new PoolEntry({0})); + localDataPoolMap.emplace(MAX31865::PoolIds::TEMPERATURE_C, new PoolEntry({0}, 1, true)); - localDataPoolMap.emplace(Max31865Definitions::PoolIds::FAULT_BYTE, new PoolEntry({0})); + localDataPoolMap.emplace(MAX31865::PoolIds::FAULT_BYTE, new PoolEntry({0})); return RETURN_OK; } @@ -72,7 +72,7 @@ ReturnValue_t TemperatureSensorsDummy::initializeLocalDataPool( LocalPoolDataSetBase* TemperatureSensorsDummy::getDataSetHandle(sid_t sid) { sif::debug << "getHandle" << std::endl; switch (sid.ownerSetId) { - case Max31865Definitions::MAX31865_SET_ID: + case MAX31865::MAX31865_SET_ID: return &max31865Set; default: return nullptr;