summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/sandisk/sansa-e200/power-e200.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200/power-e200.c')
-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 42aadf66c0..8c40e3b0ac 100644
--- a/firmware/target/arm/sandisk/sansa-e200/power-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/power-e200.c
@@ -19,6 +19,7 @@
#include <stdbool.h>
#include "cpu.h"
+#include "i2c-pp.h"
void power_init(void)
{
@@ -26,6 +27,7 @@ void power_init(void)
void power_off(void)
{
+ pp_i2c_send(0x46, 0x20, 0x20);
}
bool charger_inserted(void)