diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/power.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index bda03b0f8b..67f34e2f30 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -295,8 +295,7 @@ void power_off(void) | |||
295 | set_irq_level(HIGHEST_IRQ_LEVEL); | 295 | set_irq_level(HIGHEST_IRQ_LEVEL); |
296 | #if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) | 296 | #if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) |
297 | and_l(~0x00080000, &GPIO1_OUT); | 297 | and_l(~0x00080000, &GPIO1_OUT); |
298 | #elif defined(IAUDIO_X5) | 298 | asm("halt"); |
299 | and_l(~0x00000008, &GPIO_OUT); | ||
300 | #elif (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) | 299 | #elif (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) |
301 | #ifndef BOOTLOADER | 300 | #ifndef BOOTLOADER |
302 | /* We don't turn off the ipod, we put it in a deep sleep */ | 301 | /* We don't turn off the ipod, we put it in a deep sleep */ |