Skip to content

Commit 44a138b

Browse files
committedJul 3, 2024
fix: style
1 parent e0e31b8 commit 44a138b

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
@@ -92,7 +92,8 @@ void UpdateModeBaseCurrentModeToOnMode(EndpointId endpoint)
9292

9393
#endif // MATTER_DM_PLUGIN_MODE_BASE
9494

95-
BootReasonType GetBootReason() {
95+
BootReasonType GetBootReason()
96+
{
9697
BootReasonType bootReason = BootReasonType::kUnspecified;
9798

9899
CHIP_ERROR error = DeviceLayer::GetDiagnosticDataProvider().GetBootReason(bootReason);
@@ -565,8 +566,9 @@ Status OnOffServer::getOnOffValueForStartUp(chip::EndpointId endpoint, bool & on
565566
}
566567

567568
bool currentOnOff = false;
568-
status = Attributes::OnOff::Get(endpoint, &currentOnOff);
569-
if (status != Status::Success) {
569+
status = Attributes::OnOff::Get(endpoint, &currentOnOff);
570+
if (status != Status::Success)
571+
{
570572
return status;
571573
}
572574

0 commit comments

Comments
 (0)