Skip to content

Commit 50a1dab

Browse files
restyled-commitsarun-silabs
authored andcommitted
Restyled by whitespace
1 parent 1e68bc7 commit 50a1dab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,13 @@ void OvenManager::OnOffAttributeChangeHandler(EndpointId endpointId, AttributeId
155155
ChipLogError(AppServer, "Failed to set CookSurfaceEndpoint2 state"));
156156

157157
event.OvenEvent.Action = (*value != 0) ? COOK_TOP_ON_ACTION : COOK_TOP_OFF_ACTION;
158-
159158
// Trigger binding for CookTop OnOff changes
160159
{
161160
OnOffBindingContext * context = Platform::New<OnOffBindingContext>();
162-
161+
163162
context->localEndpointId = kCookTopEndpoint;
164163
context->commandId = *value ? Clusters::OnOff::Commands::On::Id : Clusters::OnOff::Commands::Off::Id;
165-
164+
166165
CookTopOnOffBindingTrigger(context);
167166
}
168167
break;

0 commit comments

Comments
 (0)