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 Feb 20, 2023
1 parent ab7bc26 commit 885e854
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 885e854

Please sign in to comment.