mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Fix null-pointer reference
This commit is contained in:
parent
2c554a746a
commit
d4aaa2911d
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class BmwI3Battery : public CanBattery {
|
|||
contactor_closing_allowed = contactor_closing_allowed_ptr;
|
||||
allows_contactor_closing = nullptr;
|
||||
wakeup_pin = wakeup;
|
||||
*allows_contactor_closing = true;
|
||||
|
||||
//Init voltage to 0 to allow contactor check to operate without fear of default values colliding
|
||||
battery_volts = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue