summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2011-02-08 05:51:18 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2011-02-08 05:51:18 +0000
commita014191e5e56f153f9ffb63cc953896930712eca (patch)
tree66aa5f08ef9986c3563af8101b7ab832da48a014 /firmware/target
parenta91881d7553475bde6a473db18abf36d0b01a863 (diff)
Fix battery charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29246 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/tms320dm320/system-dm320.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c
index 03196f3d46..f2a4aacb68 100644
--- a/firmware/target/arm/tms320dm320/system-dm320.c
+++ b/firmware/target/arm/tms320dm320/system-dm320.c
@@ -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();