Skip to content

Commit

Permalink
Fix endpoint init (project-chip#25200)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and David Lechner committed Mar 22, 2023
1 parent c2bbe16 commit 4b74337
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 4b74337

Please sign in to comment.