Pre-commit fix

This commit is contained in:
Daniel Öster 2024-07-30 13:42:07 +03:00
parent 1bf6167757
commit 5bf24b2c2d

View file

@ -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));