From 830dceb52184d95c0aaf61af655134f4b625a3e8 Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Fri, 8 Dec 2023 23:11:51 +0100 Subject: [PATCH] Use JsonObject without namespaces. --- src/Hal/SensorDataProvider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hal/SensorDataProvider.cpp b/src/Hal/SensorDataProvider.cpp index b2762443..fc531d90 100644 --- a/src/Hal/SensorDataProvider.cpp +++ b/src/Hal/SensorDataProvider.cpp @@ -572,7 +572,7 @@ void SensorDataProvider::registerSensorTopics() entityId += index; ITopicHandler::GetTopicFunc getTopicFunc = - [sensorTopic, sensorChannel](const String &topic, ArduinoJson::V6213PB2::JsonObject &value) -> bool + [sensorTopic, sensorChannel](const String& topic, JsonObject& value) -> bool { const uint32_t VALUE_PRECISION = 2U; /* 2 digits after the . */ @@ -583,7 +583,7 @@ void SensorDataProvider::registerSensorTopics() return true; }; TopicHandlerService::HasChangedFunc hasChangedFunc = - [sensorTopic, sensorChannel, sensorTopicRunData](const String &topic) -> bool + [sensorTopic, sensorChannel, sensorTopicRunData](const String& topic) -> bool { bool hasChanged = false;