Skip to content

Commit c397cba

Browse files
restyle
1 parent 4426712 commit c397cba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/darwin/Framework/CHIP/MTRDeviceController.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
178178
error:(NSError * __autoreleasing *)error
179179
MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
180180

181-
- (void)preWarmCommissioningSession MTR_NEWLY_DEPRECATED("-[MTRDeviceControllerFactory preWarmCommissioningSession]") MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
181+
- (void)preWarmCommissioningSession MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
182+
MTR_NEWLY_DEPRECATED("-[MTRDeviceControllerFactory preWarmCommissioningSession]");
182183

183184
/**
184185
* Set the Delegate for the device controller as well as the Queue on which the Delegate callbacks will be triggered

src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ @implementation MTRDeviceControllerFactory {
172172
os_unfair_lock _serverEndpointsLock; // Protects access to _serverEndpoints.
173173

174174
class final : public DeviceLayer::BleScannerDelegate {
175-
void OnBleScanStopped() override {
175+
void OnBleScanStopped() override
176+
{
176177
[MTRDeviceControllerFactory.sharedInstance preWarmCommissioningSessionDone];
177178
}
178179
} _preWarmingDelegate;

0 commit comments

Comments
 (0)