Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tbnobody/OpenDTU
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b2be47ea588e2e96c6dc6887e04d73490fd3ebbf
Choose a base ref
..
head repository: tbnobody/OpenDTU
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e99b0cfa864b0ebcdd91e127cd7aa7c1a76ced08
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Hoymiles/src/parser/SystemConfigParaParser.cpp
2 changes: 1 addition & 1 deletion lib/Hoymiles/src/parser/SystemConfigParaParser.cpp
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ float SystemConfigParaParser::getLimitPercent() const
// don't pretend the inverter could produce more than its rated power,
// even though it does process, accept, and even save limit values beyond
// its rated power.
return min(100, ret);
return min<float>(100, ret);
}

void SystemConfigParaParser::setLimitPercent(const float value)