Fix bug, LEAF has 96S not 97S

This commit is contained in:
Daniel 2024-02-01 22:08:33 +02:00
parent 30d37480be
commit 31178526b8

View file

@ -240,7 +240,7 @@ void update_values_leaf_battery() { /* This function maps all the values fetched
}
//Map all cell voltages to the global array
for (int i = 0; i < 97; ++i) {
for (int i = 0; i < 96; ++i) {
cellvoltages[i] = cell_voltages[i];
}