diff options
Diffstat (limited to 'firmware/target/coldfire/iriver/h300/power-h300.c')
-rw-r--r-- | firmware/target/coldfire/iriver/h300/power-h300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iriver/h300/power-h300.c b/firmware/target/coldfire/iriver/h300/power-h300.c index 2875fa2a47..5e57326c36 100644 --- a/firmware/target/coldfire/iriver/h300/power-h300.c +++ b/firmware/target/coldfire/iriver/h300/power-h300.c | |||
@@ -91,7 +91,7 @@ bool ide_powered(void) | |||
91 | 91 | ||
92 | void power_off(void) | 92 | void power_off(void) |
93 | { | 93 | { |
94 | set_irq_level(HIGHEST_IRQ_LEVEL); | 94 | set_irq_level(DISABLE_INTERRUPTS); |
95 | and_l(~0x00080000, &GPIO1_OUT); | 95 | and_l(~0x00080000, &GPIO1_OUT); |
96 | asm("halt"); | 96 | asm("halt"); |
97 | while(1) | 97 | while(1) |