Skip to content

Commit d9bcdd3

Browse files
[ColorControl]Add Quiet reporting to the CurrentHue, CurrentSaturation, EnhancedCur… (#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
1 parent 5ec6ba4 commit d9bcdd3

File tree

3 files changed

+303
-83
lines changed

3 files changed

+303
-83
lines changed

src/app/cluster-building-blocks/QuieterReporting.h

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class QuieterReportingAttribute
112112
{
113113
public:
114114
explicit QuieterReportingAttribute(const Nullable<T> & initialValue) : mValue(initialValue), mLastDirtyValue(initialValue) {}
115+
// constructor that works with arrays of QuieterReportingAttribute
116+
explicit QuieterReportingAttribute() : mValue(DataModel::NullNullable), mLastDirtyValue(DataModel::NullNullable) {}
115117

116118
struct SufficientChangePredicateCandidate
117119
{

0 commit comments

Comments
 (0)