File tree 1 file changed +1
-1
lines changed
src/darwin/Framework/CHIP
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2195,7 +2195,7 @@ - (BOOL)_isCachePrimedWithInitialConfigurationData
2195
2195
os_unfair_lock_assert_owner (&self->_lock );
2196
2196
2197
2197
// Check if root node descriptor exists
2198
- NSDictionary * rootDescriptorPartsListDataValue = _readCache[[MTRAttributePath attributePathWithEndpointID: @(0 ) clusterID: @(MTRClusterIDTypeDescriptorID) attributeID: @(MTRAttributeIDTypeClusterDescriptorAttributePartsListID)]];
2198
+ NSDictionary * rootDescriptorPartsListDataValue = _readCache[[MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId ) clusterID: @(MTRClusterIDTypeDescriptorID) attributeID: @(MTRAttributeIDTypeClusterDescriptorAttributePartsListID)]];
2199
2199
if (!rootDescriptorPartsListDataValue || ![MTRArrayValueType isEqualToString: rootDescriptorPartsListDataValue[MTRTypeKey]]) {
2200
2200
return NO ;
2201
2201
}
You can’t perform that action at this time.
0 commit comments