forked from len0rd/rockbox
Fix reds. The battery_capacity setting is used even for fixed-battery targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27976 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8ec51135b6
commit
24424bab2a
4 changed files with 12 additions and 3 deletions
|
@ -853,6 +853,7 @@ void settings_apply(bool read_disk)
|
|||
set_poweroff_timeout(global_settings.poweroff);
|
||||
|
||||
#if defined(BATTERY_CAPACITY_INC) && BATTERY_CAPACITY_INC > 0
|
||||
/* only call if it's really exchangable */
|
||||
set_battery_capacity(global_settings.battery_capacity);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue