Skip to content

Commit

Permalink
[ColorControl]Add Quiet reporting to the CurrentHue, CurrentSaturatio…
Browse files Browse the repository at this point in the history
…n, EnhancedCur… (project-chip#34544)

* WIP

* Add Quiet reporting to the CurrentHue, CurrentSaturation, EnhancedCurrentHue, CurrentX, CurrentY and RemainingTime attributes of the colorcontrol cluster server implementation

* Add a constructor in QuieterReporting that works with arrays

* address comment
  • Loading branch information
jmartinez-silabs authored Jul 29, 2024
1 parent 5ec6ba4 commit d9bcdd3
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 83 deletions.
2 changes: 2 additions & 0 deletions src/app/cluster-building-blocks/QuieterReporting.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class QuieterReportingAttribute
{
public:
explicit QuieterReportingAttribute(const Nullable<T> & initialValue) : mValue(initialValue), mLastDirtyValue(initialValue) {}
// constructor that works with arrays of QuieterReportingAttribute
explicit QuieterReportingAttribute() : mValue(DataModel::NullNullable), mLastDirtyValue(DataModel::NullNullable) {}

struct SufficientChangePredicateCandidate
{
Expand Down
Loading

0 comments on commit d9bcdd3

Please sign in to comment.