Skip to content

Commit 6dcedbb

Browse files
committed
fix: style
1 parent 2416426 commit 6dcedbb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/clusters/on-off-server/on-off-server.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ bool IsKnownEnumValue(EnumType value)
9898
return (EnsureKnownEnumValue(value) != EnumType::kUnknownEnumValue);
9999
}
100100

101-
BootReasonType GetBootReason() {
101+
BootReasonType GetBootReason()
102+
{
102103
BootReasonType bootReason = BootReasonType::kUnspecified;
103104

104105
CHIP_ERROR error = DeviceLayer::GetDiagnosticDataProvider().GetBootReason(bootReason);
@@ -561,8 +562,9 @@ Status OnOffServer::getOnOffValueForStartUp(chip::EndpointId endpoint, bool & on
561562
}
562563

563564
bool currentOnOff = false;
564-
status = Attributes::OnOff::Get(endpoint, &currentOnOff);
565-
if (status != Status::Success) {
565+
status = Attributes::OnOff::Get(endpoint, &currentOnOff);
566+
if (status != Status::Success)
567+
{
566568
return status;
567569
}
568570

0 commit comments

Comments
 (0)