Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and jamesharrow committed Aug 29, 2024
1 parent 7c549c3 commit f5de5aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ uint8_t WaterHeaterManagementDelegate::CalculateTankPercentage() const
{
tankPercentage = 100 * (static_cast<int32_t>(mWaterTemperature) - static_cast<int32_t>(mColdWaterTemperature)) / divisor;
}

tankPercentage = std::min(tankPercentage, static_cast<int32_t>(100));
tankPercentage = std::max(tankPercentage, static_cast<int32_t>(0));

Expand Down

0 comments on commit f5de5aa

Please sign in to comment.