From c29b4b24f14639ca1e31fcc82d9dbc677e167903 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 12 Jul 2024 18:29:44 +0000 Subject: [PATCH] Restyled by clang-format --- src/darwin/Framework/CHIP/MTRDeviceController.mm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.mm b/src/darwin/Framework/CHIP/MTRDeviceController.mm index db04eb251eb1c6..0f263d756c5e7b 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceController.mm @@ -952,7 +952,8 @@ - (void)preWarmCommissioningSession - (MTRBaseDevice *)deviceBeingCommissionedWithNodeID:(NSNumber *)nodeID error:(NSError * __autoreleasing *)error { - auto block = ^MTRBaseDevice * { + auto block = ^MTRBaseDevice * + { chip::CommissioneeDeviceProxy * deviceProxy; auto errorCode = self->_cppCommissioner->GetDeviceBeingCommissioned(nodeID.unsignedLongLongValue, &deviceProxy); @@ -1111,7 +1112,8 @@ + (nullable NSData *)computePASEVerifierForSetupPasscode:(NSNumber *)setupPassco - (NSData * _Nullable)attestationChallengeForDeviceID:(NSNumber *)deviceID { - auto block = ^NSData * { + auto block = ^NSData * + { chip::CommissioneeDeviceProxy * deviceProxy; auto errorCode = CHIP_NO_ERROR; @@ -1933,7 +1935,8 @@ - (NSString *)openPairingWindowWithPIN:(uint64_t)deviceID return nil; } - auto block = ^NSString * { + auto block = ^NSString * + { chip::SetupPayload setupPayload; errorCode = chip::Controller::AutoCommissioningWindowOpener::OpenCommissioningWindow(self->_cppCommissioner, deviceID, chip::System::Clock::Seconds16(static_cast(duration)), chip::Crypto::kSpake2p_Min_PBKDF_Iterations,