Skip to content

Commit

Permalink
Fix the comment for when expected value exists
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Apr 16, 2024
1 parent b0ca102 commit 00c9c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2355,7 +2355,7 @@ - (NSArray *)_getAttributesToReportWithReportedValues:(NSArray<NSDictionary<NSSt
if (!shouldReportAttribute) {
NSArray * expectedValue = _expectedValueCache[attributePath];

// If an expected value exists, do not report the attribute during this time.
// If an expected value exists, the attribute will not be reported at this time.
// When the expected value interval expires, the correct value will be reported.
if (expectedValue) {
MTR_LOG_INFO("%@ report %@ value filtered - new expected value present. Do not report old value", self, attributePath);
Expand Down

0 comments on commit 00c9c59

Please sign in to comment.