diff options
Diffstat (limited to 'firmware/target/arm/iriver/h10/power-h10.c')
-rw-r--r-- | firmware/target/arm/iriver/h10/power-h10.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/power-h10.c b/firmware/target/arm/iriver/h10/power-h10.c index f4d5be49a6..410578f8f5 100644 --- a/firmware/target/arm/iriver/h10/power-h10.c +++ b/firmware/target/arm/iriver/h10/power-h10.c | |||
@@ -59,7 +59,9 @@ void ide_power_enable(bool on) | |||
59 | { | 59 | { |
60 | if(on){ | 60 | if(on){ |
61 | GPIO_CLEAR_BITWISE(GPIOF_OUTPUT_VAL, 0x01); | 61 | GPIO_CLEAR_BITWISE(GPIOF_OUTPUT_VAL, 0x01); |
62 | DEV_EN |= DEV_IDE0; | ||
62 | } else { | 63 | } else { |
64 | DEV_EN &= ~DEV_IDE0; | ||
63 | GPIO_SET_BITWISE(GPIOF_OUTPUT_VAL, 0x01); | 65 | GPIO_SET_BITWISE(GPIOF_OUTPUT_VAL, 0x01); |
64 | } | 66 | } |
65 | } | 67 | } |