summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/power-e200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/power-e200.c b/firmware/target/arm/sandisk/sansa-e200/power-e200.c
index 7937c9dcc5..a01654fced 100644
--- a/firmware/target/arm/sandisk/sansa-e200/power-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/power-e200.c
@@ -31,6 +31,8 @@ void power_off(void)
byte = i2c_readbyte(0x46, 0x20);
byte &= ~0x1;
pp_i2c_send(0x46, 0x20, byte);
+
+ while(1); /* Wait for device to power off */
}
bool charger_inserted(void)