summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-07-06 17:30:05 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-07-06 17:30:05 +0000
commitf99e4fb3bf5e93db4b3a9f3e1df94883570ab72e (patch)
tree0adacc23ca1a72b0070ed18430d63614fd659b63 /firmware
parent2c56ac8448dee694fbe775a317fe4e841485960a (diff)
downloadrockbox-f99e4fb3bf5e93db4b3a9f3e1df94883570ab72e.tar.gz
rockbox-f99e4fb3bf5e93db4b3a9f3e1df94883570ab72e.tar.bz2
rockbox-f99e4fb3bf5e93db4b3a9f3e1df94883570ab72e.zip
HD200 - turn off charging IC by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27315 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/coldfire/mpio/hd200/power-hd200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/power-hd200.c b/firmware/target/coldfire/mpio/hd200/power-hd200.c
index 4fc28e1436..8cca17cb5b 100644
--- a/firmware/target/coldfire/mpio/hd200/power-hd200.c
+++ b/firmware/target/coldfire/mpio/hd200/power-hd200.c
@@ -66,7 +66,7 @@ void power_init(void)
/* turn off charger by default*/
or_l((1<<23), &GPIO_OUT);
- and_l(~(1<<23), &GPIO_ENABLE);
+ or_l((1<<23), &GPIO_ENABLE);
or_l((1<<23), &GPIO_FUNCTION);
/* high current charge mode */