Skip to content

Commit af3b786

Browse files
Update src/app/clusters/level-control/level-control.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent de9663d commit af3b786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/clusters/level-control/level-control.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class DefaultLevelControlSceneHandler : public scenes::DefaultSceneHandlerImpl
179179
{
180180
uint8_t nullValue = 0;
181181
chip::app::NumericAttributeTraits<uint8_t>::SetNull(nullValue);
182-
pairs[0].valueUnsigned8.SetValue(nullValue);
182+
pairs[0].valueUnsigned8.SetValue(NumericAttributeTraits<uint8_t>::kNullValue);
183183
}
184184
size_t attributeCount = 1;
185185
if (LevelControlHasFeature(endpoint, LevelControl::Feature::kFrequency))

0 commit comments

Comments
 (0)