mirror of
https://github.com/wled/WLED.git
synced 2025-07-13 05:46:32 +00:00
CP fix
This commit is contained in:
parent
d33651c25b
commit
52020cbe26
@ -124,7 +124,7 @@ class UsermodBattery : public Usermod
|
|||||||
if(cfg.type == (batteryType)lipo) {
|
if(cfg.type == (batteryType)lipo) {
|
||||||
bat = new LipoUMBattery();
|
bat = new LipoUMBattery();
|
||||||
} else if(cfg.type == (batteryType)lion) {
|
} else if(cfg.type == (batteryType)lion) {
|
||||||
bat = new LipoUMBattery();
|
bat = new LionUMBattery();
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the choosen battery type with configured values
|
// update the choosen battery type with configured values
|
||||||
|
Loading…
x
Reference in New Issue
Block a user