mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Fix crash on Common Image for Ioniq 28
This commit is contained in:
parent
a6f406a928
commit
bdcf4e788c
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@
|
||||||
|
|
||||||
class HyundaiIoniq28Battery : public CanBattery {
|
class HyundaiIoniq28Battery : public CanBattery {
|
||||||
public:
|
public:
|
||||||
HyundaiIoniq28Battery() : renderer(*this) {}
|
// Use the default constructor to create the first or single battery.
|
||||||
|
HyundaiIoniq28Battery() : renderer(*this) { datalayer_battery = &datalayer.battery; }
|
||||||
|
|
||||||
BatteryHtmlRenderer& get_status_renderer() { return renderer; }
|
BatteryHtmlRenderer& get_status_renderer() { return renderer; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue