mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Pre-commit fix
This commit is contained in:
parent
fa42e0d830
commit
ff45d9b263
1 changed files with 1 additions and 2 deletions
|
@ -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%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue