mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
Pre-commit fix
This commit is contained in:
parent
1bf6167757
commit
5bf24b2c2d
1 changed files with 0 additions and 1 deletions
|
@ -357,7 +357,6 @@ void update_values_battery() { //This function maps all the values fetched via
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (datalayer.battery.info.chemistry == battery_chemistry_enum::LFP) { //LFP limits used for voltage safeties
|
if (datalayer.battery.info.chemistry == battery_chemistry_enum::LFP) { //LFP limits used for voltage safeties
|
||||||
if (battery_cell_max_v >= MAX_CELL_VOLTAGE_LFP) {
|
if (battery_cell_max_v >= MAX_CELL_VOLTAGE_LFP) {
|
||||||
set_event(EVENT_CELL_OVER_VOLTAGE, (battery_cell_max_v - MAX_CELL_VOLTAGE_LFP));
|
set_event(EVENT_CELL_OVER_VOLTAGE, (battery_cell_max_v - MAX_CELL_VOLTAGE_LFP));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue