diff --git a/src/Battery.cpp b/src/Battery.cpp index e10abb1fa..7483c1de4 100644 --- a/src/Battery.cpp +++ b/src/Battery.cpp @@ -108,7 +108,7 @@ float BatteryClass::getDischargeCurrentLimit() } if (dischargeCurrentValid) { - return dischargeCurrentValid; + return dischargeCurrentLimit; } return FLT_MAX;