libstrat: fix compilation without pre-compiled header/without lto

This commit is contained in:
Michael Scire committed 2021-10-06 17:58:42 -07:00
1 parent 7ca83c9d3b
commit e8f1efd01b
37 files changed
+89 -33

No files matched your search

@@ -97,7 +97,7 @@ namespace ams::powctl::driver::impl {
const auto *rule = this->GetSelectedRule();
AMS_ASSERT(rule != nullptr);
return IsInRange(0, rule->min_battery_done_current, rule->max_battery_done_current);
return IsInRange(current, rule->min_battery_done_current, rule->max_battery_done_current);
}
const ChargeParametersRule *GetSelectedRule() const {