mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
Fix yet another constructor
This commit is contained in:
parent
e87b8f9bc2
commit
6bd0865195
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class KiaHyundai64Battery : public CanBattery {
|
|||
// Use this constructor for the second battery.
|
||||
KiaHyundai64Battery(DATALAYER_BATTERY_TYPE* datalayer_ptr, DATALAYER_INFO_KIAHYUNDAI64* extended_ptr,
|
||||
bool* contactor_closing_allowed_ptr, CAN_Interface targetCan)
|
||||
: CanBattery(targetCan) {
|
||||
: CanBattery(targetCan), renderer(extended_ptr) {
|
||||
datalayer_battery = datalayer_ptr;
|
||||
contactor_closing_allowed = contactor_closing_allowed_ptr;
|
||||
allows_contactor_closing = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue