forked from len0rd/rockbox
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
|
|
@ -337,6 +337,11 @@ void system_init(void)
|
||||||
uart_init();
|
uart_init();
|
||||||
spi_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
|
#ifdef CREATIVE_ZVx
|
||||||
dma_init();
|
dma_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue