Fix yet another constructor

This commit is contained in:
Jaakko Haakana 2025-06-01 12:44:19 +03:00
parent e87b8f9bc2
commit 6bd0865195

View file

@ -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;