diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2010-01-18 16:28:39 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2010-01-18 16:28:39 +0000 |
commit | 26542ddc8455842cd52938df4e1c0e83e6e44ba3 (patch) | |
tree | 6bd991b0f5f484e18276121316b5643b7e8b65ff | |
parent | 4ee5e5c896fc95f0aae643329e4e099462bd7557 (diff) | |
download | rockbox-26542ddc8455842cd52938df4e1c0e83e6e44ba3.tar.gz rockbox-26542ddc8455842cd52938df4e1c0e83e6e44ba3.zip |
M:Robe 500 - Correct a comment, and make charger detect pin an input as it should be.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24274 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/power-mr500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/power-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/power-mr500.c index fa8a74d880..c39f1eabd0 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/power-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/power-mr500.c | |||
@@ -41,10 +41,10 @@ void power_init(void) | |||
41 | 41 | ||
42 | /* Charger detect */ | 42 | /* Charger detect */ |
43 | /* 25: input, non-inverted, no-irq, falling edge, no-chat, normal */ | 43 | /* 25: input, non-inverted, no-irq, falling edge, no-chat, normal */ |
44 | dm320_set_io(25, false, false, false, false, false, 0x00); | 44 | dm320_set_io(25, true, false, false, false, false, 0x00); |
45 | 45 | ||
46 | /* Power down pin */ | 46 | /* Power down pin */ |
47 | /* 26: input, non-inverted, no-irq, falling edge, no-chat, normal */ | 47 | /* 26: output, non-inverted, no-irq, falling edge, no-chat, normal */ |
48 | dm320_set_io(26, false, false, false, false, false, 0x00); | 48 | dm320_set_io(26, false, false, false, false, false, 0x00); |
49 | IO_GIO_BITCLR1 = 1<<10; /* Make sure it is not active */ | 49 | IO_GIO_BITCLR1 = 1<<10; /* Make sure it is not active */ |
50 | } | 50 | } |