From 5f796ec1e311f41f8df5b962e3bcc3960ef6fdc7 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Fri, 10 Jun 2022 14:22:35 +0200 Subject: [PATCH] init poll variable --- bsp_hosted/dummies/TemperatureSensorsDummy.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsp_hosted/dummies/TemperatureSensorsDummy.cpp b/bsp_hosted/dummies/TemperatureSensorsDummy.cpp index d89a7817..81aa9ca3 100644 --- a/bsp_hosted/dummies/TemperatureSensorsDummy.cpp +++ b/bsp_hosted/dummies/TemperatureSensorsDummy.cpp @@ -62,8 +62,7 @@ void TemperatureSensorsDummy::performControlOperation() { ReturnValue_t TemperatureSensorsDummy::initializeLocalDataPool( localpool::DataPool& localDataPoolMap, LocalDataPoolManager& poolManager) { localDataPoolMap.emplace(MAX31865::PoolIds::RTD_VALUE, new PoolEntry({0})); - localDataPoolMap.emplace(MAX31865::PoolIds::TEMPERATURE_C, - new PoolEntry({0}, 1, true)); + localDataPoolMap.emplace(MAX31865::PoolIds::TEMPERATURE_C, new PoolEntry({0}, true)); localDataPoolMap.emplace(MAX31865::PoolIds::FAULT_BYTE, new PoolEntry({0})); return RETURN_OK;