Skip to content

Commit

Permalink
Update src/darwin/Framework/CHIP/MTRBaseDevice.mm
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
joonhaengHeo and bzbarsky-apple committed Apr 18, 2023
1 parent 966a2a5 commit a17aafa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/darwin/Framework/CHIP/MTRBaseDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -997,9 +997,8 @@ - (void)readWithAttributePaths:(NSArray<MTRAttributeRequestPath *> * _Nullable)a
}];
};

auto onEventSuccessCb = [resultArray](const app::ConcreteClusterPath & clusterPath, const EventId aEventId,
auto onEventSuccessCb = [resultArray](const ConcreteEventPath & eventPath,
const MTRDataValueDictionaryDecodableType & aData) {
app::ConcreteEventPath eventPath(clusterPath.mEndpointId, clusterPath.mClusterId, aEventId);
[resultArray addObject:@ {
MTREventPathKey : [[MTREventPath alloc] initWithPath:eventPath],
MTRDataKey : aData.GetDecodedObject()
Expand Down

0 comments on commit a17aafa

Please sign in to comment.