Skip to content

Commit

Permalink
Fix endpoint init (#25200)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and pull[bot] committed May 3, 2023
1 parent 035d3ed commit 2c421ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/window-app/common/src/WindowApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,10 @@ void WindowApp::Cover::Init(chip::EndpointId endpoint)
chip::BitMask<ConfigStatus> configStatus = ConfigStatusGet(endpoint);
configStatus.Set(ConfigStatus::kLiftEncoderControlled);
configStatus.Set(ConfigStatus::kTiltEncoderControlled);
configStatus.Set(ConfigStatus::kOnlineReserved);
ConfigStatusSet(endpoint, configStatus);

chip::app::Clusters::WindowCovering::ConfigStatusUpdateFeatures(endpoint);

// Attribute: Id 13 EndProductType
EndProductTypeSet(endpoint, EndProductType::kInteriorBlind);

Expand Down

0 comments on commit 2c421ff

Please sign in to comment.