File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ using namespace chip;
29
29
using namespace chip ::app::Clusters;
30
30
using chip::Protocols::InteractionModel::Status;
31
31
32
+ namespace ChefWindowCovering {
33
+
32
34
constexpr size_t kWindowCoveringDelegateTableSize = MATTER_DM_WINDOW_COVERING_CLUSTER_SERVER_ENDPOINT_COUNT;
33
35
static_assert (kWindowCoveringDelegateTableSize <= kEmberInvalidEndpointIndex , " WindowCovering Delegate table size error" );
34
36
@@ -68,6 +70,7 @@ void InitChefWindowCoveringCluster()
68
70
WindowCovering::SetDefaultDelegate (endpointId, gDelegateTable [epIndex].get ());
69
71
}
70
72
}
73
+ } // namespace ChefWindowCovering
71
74
72
75
CHIP_ERROR WindowCovering::ChefDelegate::HandleMovement (WindowCoveringType type)
73
76
{
Original file line number Diff line number Diff line change @@ -65,4 +65,6 @@ class ChefDelegate : public Delegate
65
65
} // namespace app
66
66
} // namespace chip
67
67
68
+ namespace ChefWindowCovering {
68
69
void InitChefWindowCoveringCluster ();
70
+ } // namespace ChefWindowCovering
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ void ApplicationInit()
362
362
363
363
#ifdef MATTER_DM_PLUGIN_WINDOW_COVERING_SERVER
364
364
ChipLogProgress (NotSpecified, " Initializing WindowCovering cluster delegate." );
365
- InitChefWindowCoveringCluster ();
365
+ ChefWindowCovering:: InitChefWindowCoveringCluster ();
366
366
#endif // MATTER_DM_PLUGIN_WINDOW_COVERING_SERVER
367
367
}
368
368
You can’t perform that action at this time.
0 commit comments