Skip to content

Commit f48a1ae

Browse files
restyled-commitsarun-silabs
authored andcommitted
Restyled by clang-format
1 parent 5a7500a commit f48a1ae

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

examples/oven-app/silabs/include/OvenBindingHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
#include <app-common/zap-generated/ids/Clusters.h>
77
#include <app-common/zap-generated/ids/Commands.h>
8-
#include <lib/core/CHIPError.h>
9-
#include <lib/core/CHIPCallback.h>
108
#include <app/util/basic-types.h>
9+
#include <lib/core/CHIPCallback.h>
10+
#include <lib/core/CHIPError.h>
1111

1212
struct OnOffBindingContext
1313
{

examples/oven-app/silabs/include/OvenManager.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@
2828
#pragma once
2929

3030
#include "AppSupportedTemperatureLevelsDelegate.h"
31-
#include "OvenEndpoint.h"
32-
#include "CookTopEndpoint.h"
3331
#include "CookSurfaceEndpoint.h"
32+
#include "CookTopEndpoint.h"
33+
#include "OvenEndpoint.h"
3434

3535
#include "AppEvent.h"
3636

3737
#include <app-common/zap-generated/ids/Attributes.h>
3838
#include <app/clusters/mode-base-server/mode-base-cluster-objects.h>
3939
#include <app/clusters/on-off-server/on-off-server.h>
40-
#include <app/clusters/mode-base-server/mode-base-cluster-objects.h>
4140
#include <lib/core/DataModelTypes.h>
4241
#include <lib/support/TypeTraits.h>
4342
#include <platform/CHIPDeviceLayer.h>

examples/oven-app/silabs/src/OvenManager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#include "OvenManager.h"
2020
#include "CookSurfaceEndpoint.h"
2121
#include "CookTopEndpoint.h"
22-
#include "OvenEndpoint.h"
2322
#include "OvenBindingHandler.h"
23+
#include "OvenEndpoint.h"
2424

25-
#include <app-common/zap-generated/cluster-objects.h>
2625
#include <app-common/zap-generated/attributes/Accessors.h>
26+
#include <app-common/zap-generated/cluster-objects.h>
2727
#include <app/clusters/mode-base-server/mode-base-cluster-objects.h>
2828

2929
#include "AppConfig.h"
@@ -177,7 +177,7 @@ void OvenManager::OnOffAttributeChangeHandler(EndpointId endpointId, AttributeId
177177
OnOffBindingContext * context = Platform::New<OnOffBindingContext>();
178178

179179
context->localEndpointId = kCookTopEndpoint;
180-
context->commandId = *value ? Clusters::OnOff::Commands::On::Id : Clusters::OnOff::Commands::Off::Id;
180+
context->commandId = *value ? Clusters::OnOff::Commands::On::Id : Clusters::OnOff::Commands::Off::Id;
181181

182182
CookTopOnOffBindingTrigger(context);
183183
}

0 commit comments

Comments
 (0)