Fix battery charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29246 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a91881d755
commit
a014191e5e
1 changed files with 5 additions and 0 deletions
|
@ -336,6 +336,11 @@ void system_init(void)
|
|||
|
||||
uart_init();
|
||||
spi_init();
|
||||
|
||||
/* Initialization is done so shut the front LED off so that the battery
|
||||
* can charge.
|
||||
*/
|
||||
IO_GIO_BITCLR2 = 0x0001;
|
||||
|
||||
#ifdef CREATIVE_ZVx
|
||||
dma_init();
|
||||
|
|
Loading…
Reference in a new issue