Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and PeterC1965 committed Jun 13, 2024
1 parent 40b185f commit b78eb4f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,9 +787,10 @@ void Instance::HandleRequestConstraintBasedForecast(HandlerContext & ctx,
if (constraint.nominalPower.Value() < mDelegate.GetAbsMinPower() ||
constraint.nominalPower.Value() > mDelegate.GetAbsMaxPower())
{
ChipLogError(Zcl, "DEM: RequestConstraintBasedForecast nominalPower " ChipLogFormatX64 " out of range [" ChipLogFormatX64 ", " ChipLogFormatX64 "]",
ChipLogValueX64(constraint.nominalPower.Value()),
ChipLogValueX64(mDelegate.GetAbsMinPower()),
ChipLogError(Zcl,
"DEM: RequestConstraintBasedForecast nominalPower " ChipLogFormatX64
" out of range [" ChipLogFormatX64 ", " ChipLogFormatX64 "]",
ChipLogValueX64(constraint.nominalPower.Value()), ChipLogValueX64(mDelegate.GetAbsMinPower()),
ChipLogValueX64(mDelegate.GetAbsMaxPower()));

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

0 comments on commit b78eb4f

Please sign in to comment.