diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-06 17:30:05 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-06 17:30:05 +0000 |
commit | f99e4fb3bf5e93db4b3a9f3e1df94883570ab72e (patch) | |
tree | 0adacc23ca1a72b0070ed18430d63614fd659b63 | |
parent | 2c56ac8448dee694fbe775a317fe4e841485960a (diff) | |
download | rockbox-f99e4fb3bf5e93db4b3a9f3e1df94883570ab72e.tar.gz 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
-rw-r--r-- | firmware/target/coldfire/mpio/hd200/power-hd200.c | 2 |
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) | |||
66 | 66 | ||
67 | /* turn off charger by default*/ | 67 | /* turn off charger by default*/ |
68 | or_l((1<<23), &GPIO_OUT); | 68 | or_l((1<<23), &GPIO_OUT); |
69 | and_l(~(1<<23), &GPIO_ENABLE); | 69 | or_l((1<<23), &GPIO_ENABLE); |
70 | or_l((1<<23), &GPIO_FUNCTION); | 70 | or_l((1<<23), &GPIO_FUNCTION); |
71 | 71 | ||
72 | /* high current charge mode */ | 72 | /* high current charge mode */ |