mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Update comment
This commit is contained in:
parent
a4606d96b2
commit
ca1b9681c7
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ void update_values_battery() { //This function maps all the values fetched via
|
||||||
|
|
||||||
//Check if SOC% is plausible
|
//Check if SOC% is plausible
|
||||||
if (battery_voltage > (max_voltage - 20)) { // When pack voltage is close to max, and SOC% is still low, raise FAULT
|
if (battery_voltage > (max_voltage - 20)) { // When pack voltage is close to max, and SOC% is still low, raise FAULT
|
||||||
if (SOC < 5000) { //When SOC is less than 65.00% when approaching max voltage
|
if (SOC < 5000) { //When SOC is less than 50.00% when approaching max voltage
|
||||||
set_event(EVENT_SOC_PLAUSIBILITY_ERROR, SOC / 100);
|
set_event(EVENT_SOC_PLAUSIBILITY_ERROR, SOC / 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue