mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Update Software/src/battery/BMW-I3-BATTERY.cpp
Co-authored-by: lenvm <lenvm@users.noreply.github.com>
This commit is contained in:
parent
8ddfbd5a36
commit
607dfedea9
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ void send_can_battery() {
|
|||
if (currentMillis - previousMillis200 >= interval200) {
|
||||
previousMillis200 = currentMillis;
|
||||
|
||||
BMW_19B.data.u8[1] = ((BMW_19B.data.u8[1] & 0xF0) + alive_counter_100ms);
|
||||
BMW_19B.data.u8[1] = ((BMW_19B.data.u8[1] & 0xF0) + alive_counter_200ms);
|
||||
BMW_19B.data.u8[0] = calculateCRC(BMW_19B, 8, 0x6C);
|
||||
|
||||
alive_counter_200ms = increment_alive_counter(alive_counter_200ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue