Skip to content

Commit

Permalink
Update BMW-I3-BATTERY.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lewurm authored Dec 2, 2024
1 parent 75cbf66 commit a278d73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Software/src/battery/BMW-I3-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -894,13 +894,13 @@ void send_can_battery() {
if (startup_counter_contactor < 160) {
startup_counter_contactor++;
} else { //After 160 messages, turn on the request
static bool first = true;
#ifdef DEBUG_VIA_USB
static bool first = true;
if (first) {
Serial.print("[");
Serial.print(millis());
Serial.println(" ms] BMW i3: close contactors");
first = false;
Serial.print("[");
Serial.print(millis());
Serial.println(" ms] BMW i3: close contactors");
first = false;
}
#endif
BMW_10B.data.u8[1] = 0x10; // Close contactors
Expand Down

0 comments on commit a278d73

Please sign in to comment.