Skip to content

Commit 6c070cc

Browse files
committed
Fix linux builds ... apparently mock attribute storage is a copy & paste ... this is probably not good...
1 parent 4b65704 commit 6c070cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/app/util/mock/attribute-storage.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,17 @@ AttributeAccessInterface * GetAttributeAccessOverride(EndpointId aEndpointId, Cl
266266
return nullptr;
267267
}
268268

269+
EndpointId EnabledEndpointsWithServerCluster::operator*() const
270+
{
271+
return emberAfEndpointFromIndex(mEndpointIndex);
272+
}
273+
269274
EnabledEndpointsWithServerCluster::EnabledEndpointsWithServerCluster(ClusterId clusterId) : mClusterId(clusterId)
270275
{
276+
mEndpointCount = emberAfEndpointCount();
271277
EnsureMatchingEndpoint();
272278
}
279+
273280
EnabledEndpointsWithServerCluster & EnabledEndpointsWithServerCluster::operator++()
274281
{
275282
++mEndpointIndex;

0 commit comments

Comments
 (0)