From ff45d9b2638c207ee5f03bd76ce873c1c957c9bc Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 19 Feb 2024 15:12:43 +0200 Subject: [PATCH] Pre-commit fix --- Software/src/battery/RENAULT-KANGOO-BATTERY.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp b/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp index 3eca4f77..62939c6c 100644 --- a/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp +++ b/Software/src/battery/RENAULT-KANGOO-BATTERY.cpp @@ -87,8 +87,7 @@ void update_values_battery() { //This function maps all the values fetched via if (LB_Charge_Power_Limit_Watts > 60000) //if >60kW can be put into the battery { system_max_charge_power_W = 60000; //cap value so we don't go over the uint16 limit - } - else { + } else { system_max_charge_power_W = LB_Charge_Power_Limit_Watts; } if (system_scaled_SOC_pptt == 10000) //Scaled SOC% value is 100.00%