Skip to content

Commit b78eb4f

Browse files
restyled-commitsPeterC1965
authored andcommitted
Restyled by clang-format
1 parent 40b185f commit b78eb4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/app/clusters/device-energy-management-server/device-energy-management-server.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,10 @@ void Instance::HandleRequestConstraintBasedForecast(HandlerContext & ctx,
787787
if (constraint.nominalPower.Value() < mDelegate.GetAbsMinPower() ||
788788
constraint.nominalPower.Value() > mDelegate.GetAbsMaxPower())
789789
{
790-
ChipLogError(Zcl, "DEM: RequestConstraintBasedForecast nominalPower " ChipLogFormatX64 " out of range [" ChipLogFormatX64 ", " ChipLogFormatX64 "]",
791-
ChipLogValueX64(constraint.nominalPower.Value()),
792-
ChipLogValueX64(mDelegate.GetAbsMinPower()),
790+
ChipLogError(Zcl,
791+
"DEM: RequestConstraintBasedForecast nominalPower " ChipLogFormatX64
792+
" out of range [" ChipLogFormatX64 ", " ChipLogFormatX64 "]",
793+
ChipLogValueX64(constraint.nominalPower.Value()), ChipLogValueX64(mDelegate.GetAbsMinPower()),
793794
ChipLogValueX64(mDelegate.GetAbsMaxPower()));
794795

795796
ctx.mCommandHandler.AddStatus(ctx.mRequestPath, Status::ConstraintError);

0 commit comments

Comments
 (0)