mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2b3136e1f3
commit
054447f9e6
15 changed files with 452 additions and 200 deletions
|
@ -351,6 +351,8 @@ static void init(void)
|
|||
|
||||
settings_reset();
|
||||
|
||||
i2c_init();
|
||||
|
||||
power_init();
|
||||
|
||||
set_irq_level(0);
|
||||
|
@ -374,8 +376,6 @@ static void init(void)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
i2c_init();
|
||||
|
||||
#if CONFIG_RTC
|
||||
rtc_init();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue