Skip to content

Commit 97c039b

Browse files
restyled-commitsarun-silabs
authored andcommitted
Restyled by clang-format
1 parent 50a1dab commit 97c039b

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

examples/oven-app/oven-app-common/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ config("config") {
2323
chip_data_model("oven-app-common") {
2424
zap_file = "oven-app.zap"
2525
is_server = true
26+
public_deps = [ "${chip_root}/src/app/clusters/bindings:binding-manager" ]
2627
}

examples/oven-app/silabs/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,7 @@ silabs_executable("oven_app") {
112112
"src/OvenManager.cpp",
113113
]
114114

115-
deps = [
116-
":sdk",
117-
"${chip_root}/src/app/clusters/bindings:binding-manager",
118-
]
115+
deps = [ ":sdk" ]
119116

120117
if (wifi_soc) {
121118
deps += [ "${examples_plat_dir}:siwx917-common" ]

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/src/OvenManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void OvenManager::OnOffAttributeChangeHandler(EndpointId endpointId, AttributeId
160160
OnOffBindingContext * context = Platform::New<OnOffBindingContext>();
161161

162162
context->localEndpointId = kCookTopEndpoint;
163-
context->commandId = *value ? Clusters::OnOff::Commands::On::Id : Clusters::OnOff::Commands::Off::Id;
163+
context->commandId = *value ? Clusters::OnOff::Commands::On::Id : Clusters::OnOff::Commands::Off::Id;
164164

165165
CookTopOnOffBindingTrigger(context);
166166
}

0 commit comments

Comments
 (0)