summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/iriver/h10
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-16 13:52:16 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-16 13:52:16 +0000
commit114641849427b8b2df6630d6b841d4c7058fd317 (patch)
treef3e48ab82e251a1b0a8fb056221d8f93ab1afc8a /firmware/target/arm/iriver/h10
parentce5383ee091d5e365e7f8ca33020777ea312cd09 (diff)
downloadrockbox-114641849427b8b2df6630d6b841d4c7058fd317.tar.gz
rockbox-114641849427b8b2df6630d6b841d4c7058fd317.tar.bz2
rockbox-114641849427b8b2df6630d6b841d4c7058fd317.zip
Fix problem where power_off() on the H10 returns before the device is actually powered off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12801 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-rw-r--r--firmware/target/arm/iriver/h10/power-h10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/power-h10.c b/firmware/target/arm/iriver/h10/power-h10.c
index a3be8125b9..d85cdb70ab 100644
--- a/firmware/target/arm/iriver/h10/power-h10.c
+++ b/firmware/target/arm/iriver/h10/power-h10.c
@@ -93,4 +93,5 @@ bool ide_powered(void)
void power_off(void)
{
GPIOF_OUTPUT_VAL &=~ 0x20;
+ while(1);
}