diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-09-17 09:19:50 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-09-17 09:19:50 +0000 |
commit | 69b4e80f2b528648c155e5aa492b889cb01a086e (patch) | |
tree | 01918ba0ee713d6693f6b248f8d4228cde62510c /firmware/target/coldfire/iaudio/x5/power-x5.c | |
parent | 815684aced5737a5443da9ba3307d24718d05f3b (diff) | |
download | rockbox-69b4e80f2b528648c155e5aa492b889cb01a086e.tar.gz rockbox-69b4e80f2b528648c155e5aa492b889cb01a086e.zip |
x5: No more remote LCD streaks when powering off with remote active. Will not affect hot unplugging of course.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10967 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5/power-x5.c')
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/power-x5.c b/firmware/target/coldfire/iaudio/x5/power-x5.c index ee06353149..4d44500fd5 100644 --- a/firmware/target/coldfire/iaudio/x5/power-x5.c +++ b/firmware/target/coldfire/iaudio/x5/power-x5.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "power.h" | 24 | #include "power.h" |
25 | #include "pcf50606.h" | 25 | #include "pcf50606.h" |
26 | #include "lcd-remote-target.h" | ||
26 | 27 | ||
27 | #ifndef SIMULATOR | 28 | #ifndef SIMULATOR |
28 | 29 | ||
@@ -58,6 +59,7 @@ bool ide_powered(void) | |||
58 | 59 | ||
59 | void power_off(void) | 60 | void power_off(void) |
60 | { | 61 | { |
62 | lcd_remote_poweroff(); | ||
61 | set_irq_level(HIGHEST_IRQ_LEVEL); | 63 | set_irq_level(HIGHEST_IRQ_LEVEL); |
62 | and_l(~0x00000008, &GPIO_OUT); /* Set KEEPACT low */ | 64 | and_l(~0x00000008, &GPIO_OUT); /* Set KEEPACT low */ |
63 | asm("halt"); | 65 | asm("halt"); |