1
0
Fork 0
forked from len0rd/rockbox

Set the default battery capacity for ipod video properly depending on detected RAM size.

Also set up a callback for the battery capacity setting (for all players) so changes take effect without having to reboot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2011-07-19 20:48:16 +00:00
parent 354d8fbc63
commit aa27d47782
6 changed files with 52 additions and 8 deletions

View file

@ -173,6 +173,7 @@ static inline void wake_core(int core)
#if defined(IPOD_VIDEO) && !defined(BOOTLOADER)
extern unsigned char probed_ramsize;
int battery_default_capacity(void);
#endif