mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Sansa Connect: Disable EMIF clock after booting main binary. Raise the threshold values for battery dangerous and shutoff levels.
On this player EMIF is needed for accessing NOR flash. Disabling it improves battery runtime by about 25 minutes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31373 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
74516e06e7
commit
c24a36dd9d
2 changed files with 7 additions and 2 deletions
|
|
@ -374,6 +374,11 @@ void system_init(void)
|
|||
|
||||
i2c_init();
|
||||
avr_hid_init();
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
/* Disable External Memory interface (used for accessing NOR flash) */
|
||||
bitclr16(&IO_CLK_MOD0, CLK_MOD0_EMIF);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue