From aac2c934aba9358b940f246ede4de670dbf6086f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Sun, 24 Aug 2025 15:31:10 +0200 Subject: [PATCH] Update MatterThermostat.cpp Fix comments for MatterThermostat class --- libraries/Matter/src/MatterThermostat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Matter/src/MatterThermostat.cpp b/libraries/Matter/src/MatterThermostat.cpp index 706ed9c..bae4feb 100644 --- a/libraries/Matter/src/MatterThermostat.cpp +++ b/libraries/Matter/src/MatterThermostat.cpp @@ -38,7 +38,7 @@ constexpr CommandId thermostatIncomingCommands[] = { kInvalidCommandId, }; -// Temperature sensor cluster attributes +// Thermostat cluster attributes DECLARE_DYNAMIC_ATTRIBUTE_LIST_BEGIN(thermostatAttrs) DECLARE_DYNAMIC_ATTRIBUTE(Thermostat::Attributes::LocalTemperature::Id, INT16S, 2, 0), /* Local Temperature */ DECLARE_DYNAMIC_ATTRIBUTE(Thermostat::Attributes::ControlSequenceOfOperation::Id, INT8U, 1, 0), /* Control Sequence Of Operation */ @@ -51,7 +51,7 @@ DECLARE_DYNAMIC_ATTRIBUTE(Thermostat::Attributes::MaxHeatSetpointLimit::Id, INT1 DECLARE_DYNAMIC_ATTRIBUTE(Thermostat::Attributes::FeatureMap::Id, BITMAP32, 4, 0), /* FeatureMap */ DECLARE_DYNAMIC_ATTRIBUTE_LIST_END(); /* ClusterRevision auto added by LIST_END */ -// Temperature sensor cluster list +// Thermostat cluster list DECLARE_DYNAMIC_CLUSTER_LIST_BEGIN(thermostatEndpointClusters) DECLARE_DYNAMIC_CLUSTER(Thermostat::Id, thermostatAttrs, ZAP_CLUSTER_MASK(SERVER), thermostatIncomingCommands, nullptr), DECLARE_DYNAMIC_CLUSTER(Descriptor::Id, descriptorAttrs, ZAP_CLUSTER_MASK(SERVER), nullptr, nullptr),