mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
remove update_number_of_cells from update_values_battery
This commit is contained in:
parent
3c3999877d
commit
f339c7a7dc
1 changed files with 0 additions and 2 deletions
|
@ -179,8 +179,6 @@ void update_values_battery() { //This function maps all the values fetched via
|
||||||
set_event(EVENT_12V_LOW, leadAcidBatteryVoltage);
|
set_event(EVENT_12V_LOW, leadAcidBatteryVoltage);
|
||||||
}
|
}
|
||||||
|
|
||||||
update_number_of_cells();
|
|
||||||
|
|
||||||
// Check if cell voltages are within allowed range
|
// Check if cell voltages are within allowed range
|
||||||
if (CellVoltMax_mV >= MAX_CELL_VOLTAGE) {
|
if (CellVoltMax_mV >= MAX_CELL_VOLTAGE) {
|
||||||
set_event(EVENT_CELL_OVER_VOLTAGE, 0);
|
set_event(EVENT_CELL_OVER_VOLTAGE, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue