summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/olympus
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2008-03-07 16:05:22 +0000
committerMark Arigo <markarigo@gmail.com>2008-03-07 16:05:22 +0000
commit89dc21a582be554b163a15620cd89b685f383768 (patch)
tree2feebdc8f3f1d8a5a780780bbb116ed7c3f102b5 /firmware/target/arm/olympus
parent2d8cd814acb3de5f19cb2a24ea0dbd849cf2c486 (diff)
downloadrockbox-89dc21a582be554b163a15620cd89b685f383768.tar.gz
rockbox-89dc21a582be554b163a15620cd89b685f383768.zip
m:robe 100 - Hopefully fix the power-off issue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16544 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus')
-rw-r--r--firmware/target/arm/olympus/mrobe-100/power-mr100.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/power-mr100.c b/firmware/target/arm/olympus/mrobe-100/power-mr100.c
index b4cc711ddf..797e7084e8 100644
--- a/firmware/target/arm/olympus/mrobe-100/power-mr100.c
+++ b/firmware/target/arm/olympus/mrobe-100/power-mr100.c
@@ -33,6 +33,10 @@ bool charger_enabled;
void power_init(void)
{
+ /* Enable power-off bit */
+ GPIOB_ENABLE |= 0x80;
+ GPIOB_OUTPUT_VAL &= ~0x80;
+ GPIOB_OUTPUT_EN |= 0x80;
}
bool charger_inserted(void)