summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/olympus/mrobe-100/power-mr100.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/olympus/mrobe-100/power-mr100.c')
-rw-r--r--firmware/target/arm/olympus/mrobe-100/power-mr100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/power-mr100.c b/firmware/target/arm/olympus/mrobe-100/power-mr100.c
index 1fb2ecb958..54b7030646 100644
--- a/firmware/target/arm/olympus/mrobe-100/power-mr100.c
+++ b/firmware/target/arm/olympus/mrobe-100/power-mr100.c
@@ -37,19 +37,19 @@ void power_init(void)
bool charger_inserted(void)
{
- return false;
+ return (GPIOB_INPUT_VAL & 0x02) ? false : true ;
}
void ide_power_enable(bool on)
{
(void)on;
- /* We do nothing on the iPod */
+ /* We do nothing */
}
bool ide_powered(void)
{
- /* pretend we are always powered - we don't turn it off on the ipod */
+ /* pretend we are always powered - we don't turn it off */
return true;
}