Fix non-common image build

This commit is contained in:
Jaakko Haakana 2025-07-11 17:55:50 +03:00
parent 0b3bc738ac
commit 5fcbb68dd1

View file

@ -11,7 +11,6 @@
Battery* battery = nullptr;
Battery* battery2 = nullptr;
#ifdef COMMON_IMAGE
std::vector<BatteryType> supported_battery_types() {
std::vector<BatteryType> types;
@ -132,7 +131,6 @@ const char* name_for_battery_type(BatteryType type) {
return nullptr;
}
}
#endif
#ifdef LFP_CHEMISTRY
const battery_chemistry_enum battery_chemistry_default = battery_chemistry_enum::LFP;