Skip to content

Commit

Permalink
Use JsonObject without namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Dec 8, 2023
1 parent 5e3c67c commit 830dceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hal/SensorDataProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 . */

Expand All @@ -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;

Expand Down

0 comments on commit 830dceb

Please sign in to comment.