From 2508afa9ae077fea5a814d7bcf0e5501d42481d1 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 16 Nov 2023 13:34:53 -0500 Subject: [PATCH] Update comment text a bit to be more user friendly. --- .../barrier-control-server/barrier-control-server.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/clusters/barrier-control-server/barrier-control-server.cpp b/src/app/clusters/barrier-control-server/barrier-control-server.cpp index 914b46d0d3cd64..81ad85a56dc446 100644 --- a/src/app/clusters/barrier-control-server/barrier-control-server.cpp +++ b/src/app/clusters/barrier-control-server/barrier-control-server.cpp @@ -39,11 +39,15 @@ using namespace chip::app::Clusters::BarrierControl; using chip::Protocols::InteractionModel::Status; // this is NOT in any spec (CHIP spec does not currently have BarrierControl) -// and XMLs do not attach these enums to clusters. SO set some constants here +// and XMLs do not attach these enums to clusters. +// +// This directly defines some constants. These could be replaced with real +// constants if we ever have some BarrierControl in the matter specification. namespace chip { namespace app { namespace Clusters { namespace BarrierControl { + namespace Position { static constexpr uint8_t kClosed = 0; static constexpr uint8_t kOpen = 100;