summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config-e200.h4
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/power-e200.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index e055373567..26b87c70fc 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -85,8 +85,8 @@
#define CONFIG_CHARGING CHARGING_SIMPLE
/* define this if the hardware can be powered off while charging */
-/* TODO: should this be set for the H10? */
-#define HAVE_POWEROFF_WHILE_CHARGING
+/* Sansa can't be powered off while charging */
+/* #define HAVE_POWEROFF_WHILE_CHARGING */
/* The start address index for ROM builds */
#define ROM_START 0x00000000
diff --git a/firmware/target/arm/sandisk/sansa-e200/power-e200.c b/firmware/target/arm/sandisk/sansa-e200/power-e200.c
index b9022974d1..42aadf66c0 100644
--- a/firmware/target/arm/sandisk/sansa-e200/power-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/power-e200.c
@@ -34,3 +34,8 @@ bool charger_inserted(void)
return true;
return false;
}
+
+void ide_power_enable(bool on)
+{
+ (void)on;
+}