mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Fix bug, LEAF has 96S not 97S
This commit is contained in:
parent
30d37480be
commit
31178526b8
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue