From f339c7a7dcac93a156e169c967ed0ffb3e7d7e00 Mon Sep 17 00:00:00 2001 From: amarofarinha <151563493+amarofarinha@users.noreply.github.com> Date: Sun, 9 Jun 2024 10:33:52 +0100 Subject: [PATCH] remove update_number_of_cells from update_values_battery --- Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp index 787a676b..a4aa647d 100644 --- a/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp +++ b/Software/src/battery/KIA-HYUNDAI-64-BATTERY.cpp @@ -179,8 +179,6 @@ void update_values_battery() { //This function maps all the values fetched via set_event(EVENT_12V_LOW, leadAcidBatteryVoltage); } - update_number_of_cells(); - // Check if cell voltages are within allowed range if (CellVoltMax_mV >= MAX_CELL_VOLTAGE) { set_event(EVENT_CELL_OVER_VOLTAGE, 0);