mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Restore pid_index
This commit is contained in:
parent
ccb099f2c0
commit
6c5fbd6046
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ void receive_can_battery(CAN_frame_t rx_frame) {
|
|||
cell_voltages[voltage_index + 1] = voltage2;
|
||||
}
|
||||
|
||||
if (temp1 == 0) {
|
||||
if (pid_index == 0) {
|
||||
cell_temperatures[temp_index] = temp2;
|
||||
cell_temperatures[temp_index + 1] = temp3;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue