Skip to content

Commit

Permalink
Fix a typo in examples/darwin-framework-tool/commands/provider/OTAPro…
Browse files Browse the repository at this point in the history
…viderDelegate.mm (Prams -> Params) (project-chip#21419)
  • Loading branch information
vivien-apple authored and isiu-apple committed Sep 16, 2022
1 parent 0c7d90f commit 531e0ac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ - (void)handleApplyUpdateRequest:(MTROtaSoftwareUpdateProviderClusterApplyUpdate
completionHandler:(void (^_Nonnull)(MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
{
MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * applyUpdateResponsePrams =
MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * applyUpdateResponseParams =
[[MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams alloc] init];
applyUpdateResponsePrams.action = @(MTROtaSoftwareUpdateProviderOTAApplyUpdateActionProceed);
completionHandler(applyUpdateResponsePrams, nil);
applyUpdateResponseParams.action = @(MTROtaSoftwareUpdateProviderOTAApplyUpdateActionProceed);
completionHandler(applyUpdateResponseParams, nil);
}

- (void)handleNotifyUpdateApplied:(MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams * _Nonnull)params
Expand Down

0 comments on commit 531e0ac

Please sign in to comment.