This commit is contained in:
Maximilian Mewes 2024-05-06 17:46:26 +02:00
parent d33651c25b
commit 52020cbe26

View File

@ -124,7 +124,7 @@ class UsermodBattery : public Usermod
if(cfg.type == (batteryType)lipo) {
bat = new LipoUMBattery();
} else if(cfg.type == (batteryType)lion) {
bat = new LipoUMBattery();
bat = new LionUMBattery();
}
// update the choosen battery type with configured values