mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Fix common image build
This commit is contained in:
parent
42c14c0a78
commit
e19ea67778
3 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,8 @@ extern const char* name_for_battery_type(BatteryType type) {
|
|||
return FoxessBattery::Name;
|
||||
case BatteryType::GeelyGeometryC:
|
||||
return GeelyGeometryCBattery::Name;
|
||||
case BatteryType::HyundaiIoniq28:
|
||||
return HyundaiIoniq28Battery::Name;
|
||||
case BatteryType::OrionBms:
|
||||
return OrionBms::Name;
|
||||
case BatteryType::Sono:
|
||||
|
@ -134,6 +136,8 @@ Battery* create_battery(BatteryType type) {
|
|||
return new FoxessBattery();
|
||||
case BatteryType::GeelyGeometryC:
|
||||
return new GeelyGeometryCBattery();
|
||||
case BatteryType::HyundaiIoniq28:
|
||||
return new HyundaiIoniq28Battery();
|
||||
case BatteryType::OrionBms:
|
||||
return new OrionBms();
|
||||
case BatteryType::Sono:
|
||||
|
|
|
@ -42,6 +42,7 @@ enum class BatteryType {
|
|||
TestFake = 34,
|
||||
VolvoSpa = 35,
|
||||
VolvoSpaHybrid = 36,
|
||||
HyundaiIoniq28 = 37,
|
||||
Highest
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue